common.js
914 Bytes
import http from "../request/http";
module.exports = {
search(data) {
return http.post({
method: "scrm.api.carlife.weapp.homeSearch.search",
pageSize: 10,
...data,
});
},
// 查询接待素材
findSoureList() {
return http.post({
method: 'dj.api.smartcarlife.recepiton.soure.findSoureList',
sessionId: "b5e0a471-a2cd-4020-a522-72bcd68d6da7",
projectName: "boutique",
})
},
// 查询门店支付配置
findPayInfo(data) {
return http.post({
method: 'dj.api.smartcarlife.recepiton.pay.findPayInfoConfigListByMerchantId',
sessionId: "b5e0a471-a2cd-4020-a522-72bcd68d6da7",
projectName: "boutique",
...data
})
},
getToken(data) {
return http.post({
method: "dj.api.mindworkplate.badge.getToken",
projectName: "mindworkplate",
sessionId: "2ae39c60-60c9-4096-901a-68da57068cd9",
});
},
};