entmicroApi.js 949 Bytes
import api from '~/utils/request/request'
module.exports = {
  getServiceCode(data) {
    return api.post(
      {
        method: 'dracIm.api.entmicro.findMiniProgramIm',
        ...data
      },
      true
    )
  },
  /**数字化道路救援 */
  getDigitalPageInfo(data) {
    return api.post({
      method: 'entmicro.api.drac.rescue.getRescueCustomerView',
      ...data
    })
  },
  /**刷新数字化道路救援二维码 */
  toFreshCode(data) {
    return api.post({
      method: 'entmicro.api.drac.rescue.getRescueStaffCode',
      ...data
    })
  },
  /**重新定位获取数据 */
  toRegetDigitalData(data) {
    return api.post({
      method: 'entmicro.api.drac.rescue.rescueReacquireLocation',
      ...data
    })
  },
  /**智能外呼-联系人 */
  findByActivityIdAndPhone(data) {
    return api.post(
      {
        method: 'dracIm.api.entmicro.findByActivityIdAndPhone',
        ...data
      },
      true
    )
  }
}