mine.js
1.21 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
import api from '../request/http'
module.exports = {
/**. 分页查询订单 */
getOrderList(data) {
return api.post({
method: `scrm.api.shopmall.platform.order.page`,
...data
})
},
/**. 分页查询订单 */
getSalesOrderList(data) {
return api.post({
method: `scrm.api.shopmall.platform.after.sales.order.page`,
...data
})
},
/**获取订单状态数量 */
getOrderNumberList(data) {
return api.post({
method: 'scrm.api.shopmall.weapp.order.statis',
...data
})
},
/**获取客户保存的地址列表 */
getCustomerAddressList(data) {
return api.post({
method: 'scrm.api.shopmall.platform.customer.address.list',
...data
})
},
/**保存或更新收货地址 */
saveAddress(data) {
return api.post({
method: 'scrm.api.shopmall.platform.customer.address.save',
...data
})
},
/**删除收货地址 */
removeAddress(data) {
return api.post({
method: 'scrm.api.shopmall.platform.customer.address.delete',
...data
})
},
/**获取地址基础数据 */
getBaseAddress(data) {
return api.post({
method: 'scrm.api.shopmall.platform.base.address.list',
...data
})
}
}