api-map.js
1.03 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
module.exports = {
'/api/product/data': {
api: 'app.product.data',
cache: true,
params: {
product_id: {type: Number},
uid: {type: Number, require: false}
}
},
'/api/product/refundExchange': {
api: 'app.product.refundExchange',
cache: true,
params: {
product_skn: {type: Number}
}
},
'/api/favorite/isFavoriteNew': {
api: 'app.favorite.isFavoriteNew',
params: {
id: {type: Number},
uid: {type: Number}
}
},
'/api/resource/get': {
api: 'operations/api/v5/resource/get',
cache: true,
service: true,
params: {
content_code: {type: String},
}
},
'/api/search/fuzzy': {
api: 'app.search.fuzzy',
params: {
keyword: {type: String, require: true},
}
},
'/sort/list': {
api: 'app.sort.get',
cache: true,
params: {
app_type: 1,
}
}
};