boutique.js 2.25 KB
/*
 * @Description: 
 * @Author: huyue
 * @Date: 2024-09-05 14:05:25
 * @LastEditors: huyue
 * @LastEditTime: 2024-09-13 11:08:55
 */
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,
    });
  },

  /**轻改素材配置 */
  getBoutiqueMaterialConfig (data) {
    return http.post({
      method: "dj.api.boutique.recepiton.material.merchant.detail",
      projectName: "boutique",
      ...data,
    });
  },
 
  /** 案例视频 */
  getCaseList(data) {
    return http.post({
      method: "dj.api.smartcarlife.recepiton.material.case.find",
      projectName: "boutique",
      ...data
    })
  },
  /** 获取类目 */
  getCategory(data) {
    return http.post({
      method: "dj.api.boutique.recepiton.material.merchant.category",
      projectName: "boutique",
      ...data

    })
  }
};