popupApi.js 1.75 KB
import http from '../request/http'

module.exports = {
  /** 销售顾问/录单员 & 交付专员 */
  getEmployeeList (data) {
    return http.post({
      method: 'dj.api.smartcarlife.employee.onTheJob.getByMerchantId',
      projectName: 'boutique',
      ...data
    })
  },
  /**
   * 二级流量方
   */

  getDiversionMerchantRef (data) {
    return http.post({
      method: 'dj.api.smartcarlife.diversionMerchant.getDiversionMerchantRef',
      projectName: 'boutique',
      ...data
    })
  },
  /**
   * 获取门店品牌车型
   */

  getMerchantCarBrandList (data) {
    return http.post({
      method: 'dj.api.get.car.brandList',
      projectName: 'boutique',
      needCarSeries: true,
      ...data
    })
  },

  /***
   * 获取门店礼券列表
   */
  getMerchantCouponList (data) {
    return http.post({
      method: 'dj.api.smartCarLife.merchant.coupon.list',
      projectName: 'boutique',
      ...data
    })
  },
  /**
   * 获取客户礼券列表
   */
  getCustomerCouponList (data) {
    return http.post({
      method: 'dj.api.customer.coupon.list',
      projectName: 'boutique',
      ...data
    })
  },
  /**
   * 获取商品列表
   */
  getGoodsList (data) {
    return http.post({
      method: 'dj.api.smartcarlife.selectOrderGoods.list',
      projectName: 'boutique',
      ...data
    })
  },

  /**获取订单列表筛选转化人员&销售顾问 */
  getOrderScreenEmployeeList (data) {
    return http.post({
      method: 'dj.api.smartcarlife.employee.getByMerchantId',
      projectName: 'boutique',
      ...data
    })
  },
  /**
   * 获取园区店配置
   */
  getYqStoreConfig(data){
    return http.get({
      method: 'dj.api.smarcarlife.yqMerchantConfig.detail',
      projectName: 'boutique',
      ...data
    })
  }
}