home-api-map.js
1.44 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
63
64
65
66
67
68
69
70
71
module.exports = {
'/api/ufo/mine/rollBoardList': {
ufo: true,
api: 'ufo.users.rollNoticeList',
params: {},
},
'/api/ufo/mine/seller/orderSummary': {
ufo: true,
api: 'ufo.seller.orderSummary',
params: {
uid: { type: Number },
},
},
'/api/ufo/mine/favoriteNum': {
ufo: true,
api: 'ufo.user.favoriteNum',
params: {
uid: { type: Number },
},
},
'/api/ufo/mine/depositNum': {
ufo: true,
api: 'ufo.deposit.queryUserStorageCount',
params: {
uid: { type: Number },
},
},
'/api/ufo/mine/assets': {
ufo: true,
api: 'ufo.asssets.details',
params: {
uid: { type: Number },
limit: { type: Number },
page: { type: Number },
},
},
'/api/ufo/mine/order/summary': {
ufo: true,
url: '/shopping',
api: 'ufo.order.summary',
params: {
uid: { type: Number },
},
},
'/api/ufo/mine/resource': {
ufo: true,
api: 'ufo.resource.get',
params: {
content_code: { type: String },
uid: { type: Number },
},
},
'/api/ufo/home/noticelist': {
ufo: true,
api: 'ufo.users.noticeList',
params: {},
},
'/api/ufo/home/favoriteProduct': {
ufo: true,
api: 'ufo.user.favoriteList',
params: {},
},
'/api/ufo/channel/channelList': {
ufo: true,
api: 'ufo.resource.get',
params: {
content_code: { type: String },
uid: { type: Number, require: true },
},
},
};