home-api-map.js
2.82 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
module.exports = {
'/api/ufo/mine/rollBoardList': {
ufo: true,
api: 'ufo.users.rollNoticeList',
params: {},
},
'/api/ufo/mine/seller/orderSummary': {
ufo: true,
auth: true,
api: 'ufo.seller.orderSummary',
params: {},
},
'/api/ufo/mine/favoriteNum': {
ufo: true,
auth: true,
api: 'ufo.user.favoriteNum',
params: {},
},
'/api/ufo/mine/depositNum': {
ufo: true,
auth: true,
api: 'ufo.deposit.queryUserStorageCount',
params: {},
},
'/api/ufo/mine/assets': {
ufo: true,
auth: true,
api: 'ufo.asssets.details',
params: {
limit: { type: Number },
page: { type: Number },
},
},
'/api/ufo/mine/wallet': {
ufo: true,
auth: true,
api: 'ufo.wallet.queryWalletDetailList',
params: {
tradeType: { type: Number },
limit: { type: Number },
page: { type: Number },
startTime: {type: Number},
endTime: {type: Number}
},
},
'/api/ufo/mine/userWalletInfo': {
ufo: true,
auth: true,
api: 'ufo.wallet.queryUserWalletInfo',
params: {}
},
'/api/ufo/mine/walletFilter': {
ufo: true,
auth: true,
api: 'ufo.wallet.queryDateAndType',
params: {}
},
'/api/ufo/mine/order/summary': {
ufo: true,
auth: true,
path: '/ufo-gateway/shopping',
api: 'ufo.order.summary',
params: {},
},
'/api/ufo/mine/coupon': {
ufo: true,
auth: true,
path: '/ufo-gateway/coupon',
api: 'ufo.coupons.cnt',
params: {},
},
'/api/ufo/mine/resource': {
ufo: true,
api: 'ufo.resource.get',
params: {
content_code: { type: String }},
},
'/api/ufo/home/noticelist': {
ufo: true,
api: 'ufo.users.noticeList',
params: {},
},
'/api/ufo/home/favoriteProduct': {
ufo: true,
api: 'ufo.user.favoriteList',
params: {},
auth: true,
},
'/api/ufo/channel/channelList': {
ufo: true,
api: 'ufo.resource.get',
params: {
content_code: { type: String },
},
auth: true,
},
'/api/ufo/home/newsList': {
ufo: true,
api: 'ufo.users.listInboxs',
params: {
// uid: {type: Number}
},
auth: true,
},
'/api/ufo/home/newsListTab': {
ufo: true,
api: 'ufo.users.listInboxTypeInfo',
params: {},
auth: true,
},
'/api/ufo/coupon/list': {
ufo: true,
auth: true,
path: '/ufo-gateway/coupon',
api: 'ufo.coupons.list',
param: {
page: {type: Number},
limit: {type: Number},
type: {type: String},
}
},
'/api/ufo/home/bindAliPayAccount': {
ufo: true,
auth: true,
api: 'ufo.user.directBindAliPayAccountInfo',
param: {
alipayAccount: {type: String},
certName: {type: String}
}
},
'/api/ufo/home/getUserAliPayAccount': {
ufo: true,
auth: true,
api: 'ufo.user.getUserAliPayAccountInfo',
param: {}
},
};