common.js
1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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({
<<<<<<< HEAD
method: "dj.api.smartcarlife.recepiton.soure.findSoureList",
sessionId: "b5e0a471-a2cd-4020-a522-72bcd68d6da7",
=======
method: 'dj.api.smartcarlife.recepiton.soure.findSoureList',
>>>>>>> 79001e1604b966c94fa05e300a023cc7b6fc1f1a
projectName: "boutique",
});
},
// 查询门店支付配置
findPayInfo(data) {
return http.post({
<<<<<<< HEAD
method:
"dj.api.smartcarlife.recepiton.pay.findPayInfoConfigListByMerchantId",
sessionId: "b5e0a471-a2cd-4020-a522-72bcd68d6da7",
=======
method: 'dj.api.smartcarlife.recepiton.pay.findPayInfoConfigListByMerchantId',
>>>>>>> 79001e1604b966c94fa05e300a023cc7b6fc1f1a
projectName: "boutique",
...data,
});
},
// 查询门店支付配置
saveRecCustomer(data) {
return http.post({
method: "dj.api.smartcarlife.recepiton.customer.saveRecCustomer",
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",
});
},
};