boutique.js 1.49 KB
import http from "../request/http";

module.exports = {
  /**获取APP更新 */
  findSoureList (data) {
    return http.post({
      method: "dj.api.smartcarlife.recepiton.soure.findSoureList",
      projectName: "boutique",
      ...data,
    });
  },
  /** 查询可发放礼券-分页查询商户券列表 */
  findCouponList (data) {
    return http.post({
      method: "dj.api.smartcarlife.merchantCoupon.pageForZYApp",
      projectName: "boutique",
      onlyUsable: true,
      currentPage: 1,
      pageSize: 99999,
      ...data,
    });
  },
  /**查询用户是否领券  */
  findCustomerReceivedStatus (data) {
    return http.post({
      method: "dj.api.smartcarlife.customerCoupon.pageForZYApp",
      projectName: "boutique",
      ...data,
      currentPage: 1,
      pageSize: 99999,
      statusList: [0, 1]
    });
  },
  /**历史成交客户  */
  historyDealOrderPage (data) {
    return http.post({
      method: "dj.api.smartcarlife.order.historyDealOrder.page",
      projectName: "boutique",
      ...data,
    });
  },
  // 历史订单列表
  getQuotationList (data) {
    return http.post({
      method: "dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page",
      projectName: "boutique",
      ...data,
    });
  },
  /**客户邀约记录  */
  customerInviteRecordPage (data) {
    return http.post({
      method: "dj.api.smartcarlife.customerInviteRecord.page",
      projectName: "boutique",
      ...data,
    });
  },
};