address-api-map.js
1.16 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
module.exports = {
'/api/address/gethidden': {
auth: true,
api: 'app.address.gethidden',
params: {},
},
'/api/address/getTags': {
auth: true,
api: 'app.address.getTags',
params: {},
},
'/api/address/getProvinces': {
auth: true,
api: 'app.address.provinces',
params: {},
},
'/api/address/addAddress': {
auth: true,
api: 'app.address.add',
params: {},
},
'/api/address/updateAddress': {
auth: true,
api: 'app.address.update',
params: {},
},
'/api/address/delAddress': {
auth: true,
api: 'app.address.del',
params: {},
},
'/api/address/setDefaultAddress': {
auth: true,
api: 'app.address.setdefault',
params: {},
},
'/api/buyer/modifyAddress': {
auth: true,
ufo: true,
api: 'ufo.buyer.modifyAddress',
params: {
tabType: { type: String, require: true },
orderCode: { type: Number, require: true },
mobile: { type: String, require: true },
consignee: { type: String, require: true },
area: { type: String, require: true },
areaCode: { type: String, require: true },
address: { type: String, require: true },
},
},
};