Commit 19fcb034 by 杨明

门店订单

1 parent bf5afb83
...@@ -5,88 +5,96 @@ ...@@ -5,88 +5,96 @@
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-09-13 11:08:55 * @LastEditTime: 2024-09-13 11:08:55
*/ */
import http from "../request/http"; import http from '../request/http'
module.exports = { module.exports = {
/**获取APP更新 */ /**获取APP更新 */
findSoureList (data) { findSoureList(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.recepiton.soure.findSoureList", method: 'dj.api.smartcarlife.recepiton.soure.findSoureList',
projectName: "boutique", projectName: 'boutique',
...data, ...data
}); })
}, },
/** 查询可发放礼券-分页查询商户券列表 */ /** 查询可发放礼券-分页查询商户券列表 */
findCouponList (data) { findCouponList(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.merchantCoupon.pageForZYApp", method: 'dj.api.smartcarlife.merchantCoupon.pageForZYApp',
projectName: "boutique", projectName: 'boutique',
onlyUsable: true, onlyUsable: true,
currentPage: 1, currentPage: 1,
pageSize: 99999, pageSize: 99999,
...data, ...data
}); })
}, },
/**查询用户是否领券 */ /**查询用户是否领券 */
findCustomerReceivedStatus (data) { findCustomerReceivedStatus(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.customerCoupon.pageForZYApp", method: 'dj.api.smartcarlife.customerCoupon.pageForZYApp',
projectName: "boutique", projectName: 'boutique',
...data, ...data,
currentPage: 1, currentPage: 1,
pageSize: 99999, pageSize: 99999,
statusList: [0, 1] statusList: [0, 1]
}); })
}, },
/**历史成交客户 */ /**历史成交客户 */
historyDealOrderPage (data) { historyDealOrderPage(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.order.historyDealOrder.page", method: 'dj.api.smartcarlife.order.historyDealOrder.page',
projectName: "boutique", projectName: 'boutique',
...data, ...data
}); })
}, },
// 历史订单列表 // 历史订单列表
getQuotationList (data) { getQuotationList(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page", method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page',
projectName: "boutique", projectName: 'boutique',
...data, ...data
}); })
},
// 历史订单列表
getOrderList(data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.for.pad.page',
projectName: 'boutique',
...data
})
}, },
/**客户邀约记录 */ /**客户邀约记录 */
customerInviteRecordPage (data) { customerInviteRecordPage(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.customerInviteRecord.page", method: 'dj.api.smartcarlife.customerInviteRecord.page',
projectName: "boutique", projectName: 'boutique',
...data, ...data
}); })
}, },
/**轻改素材配置 */ /**轻改素材配置 */
getBoutiqueMaterialConfig (data) { getBoutiqueMaterialConfig(data) {
return http.post({ return http.post({
method: "dj.api.boutique.recepiton.material.merchant.detail", method: 'dj.api.boutique.recepiton.material.merchant.detail',
projectName: "boutique", projectName: 'boutique',
...data, ...data
}); })
}, },
/** 案例视频 */ /** 案例视频 */
getCaseList(data) { getCaseList(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.recepiton.material.case.find", method: 'dj.api.smartcarlife.recepiton.material.case.find',
projectName: "boutique", projectName: 'boutique',
...data ...data
}) })
}, },
/** 获取类目 */ /** 获取类目 */
getCategory(data) { getCategory(data) {
return http.post({ return http.post({
method: "dj.api.boutique.recepiton.material.merchant.category", method: 'dj.api.boutique.recepiton.material.merchant.category',
projectName: "boutique", projectName: 'boutique',
...data ...data
}) })
}, },
/** /**
...@@ -94,10 +102,9 @@ module.exports = { ...@@ -94,10 +102,9 @@ module.exports = {
*/ */
getInviteRecordCount(data) { getInviteRecordCount(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.customerInviteRecord.inviteStatus.count", method: 'dj.api.smartcarlife.customerInviteRecord.inviteStatus.count',
projectName: "boutique", projectName: 'boutique',
...data ...data
}) })
}, }
}
};
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!