entmicroApi.js
841 Bytes
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
const url = '/rop-scrm-entmicro/router'
// const url = 'http://192.168.1.163:8080/rop-scrm-entmicro/router'
export default {
/**全部活码接口 */
getAllEntmicroChannelCodeList (data) {
data.method = 'entmicro.api.code.listEntmicroChannelCodeList'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**引流获客列表 */
getEntmicroChannelCodeList (data) {
data.method = 'entmicro.api.code.listStaffEntmicroChannelCodeList'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**变更客户信息 */
editCustomer (data) {
data.method = 'entmicro.api.customer.editcustomer'
return window.$HTTP({
url,
data
})
},
/**变更客户车牌号信息 */
editplatCustomer (data) {
data.method = 'entmicro.api.customer.editdata'
return window.$HTTP({
url,
data
})
},
}