entmicroApi.js
1.26 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
54
55
56
57
58
59
60
61
62
import api from "./request";
module.exports = {
// 智能名片详情
getCardDetail(data) {
return api.post({
method: `entmicro.api.business.card.cardDetail`,
...data,
},
true
);
},
// 智能名片活动申请
activityApply(data) {
return api.post({
method: `entmicro.api.business.card.activity.apply`,
...data,
}, true)
},
// 检查登录用户是否是滴加智慧云员工
checkPhone(data) {
return api.post({
method: `entmicro.api.business.activityRecord.checkPhone`,
...data,
}, true)
},
// 获取活动记录全集
getActivityRecord(data) {
return api.post({
method: `entmicro.api.business.activityRecord.list`,
...data
}, true)
},
// 根据id查询
getActivityDetail(data) {
return api.post({
method: `entmicro.api.business.activityRecord.detail`,
...data
})
},
//获取活动配置
getActiveApi(data) {
return api.post({
method: 'scrm.api.busassistant.activity.getActivityUrl',
...data
},
true
)
},
// 是否显示门店助手、生意助手按钮
checkCooperate(data) {
return api.post({
method: 'entmicro.api.business.activityRecord.checkCooperate',
...data
})
}
}