apifm-webapi 3.56.0 → 3.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +309 -4
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -131,6 +131,12 @@ module.exports = {
|
|
|
131
131
|
iv
|
|
132
132
|
})
|
|
133
133
|
},
|
|
134
|
+
scoreTaskList: token => {
|
|
135
|
+
return request('/score/taskList', true, 'get', { token })
|
|
136
|
+
},
|
|
137
|
+
scoreTaskSuccess: (token, type) => {
|
|
138
|
+
return request('/score/taskSuccess', true, 'post', { token, type })
|
|
139
|
+
},
|
|
134
140
|
kanjiaSet: (goodsId) => {
|
|
135
141
|
return request('/shop/goods/kanjia/set', true, 'get', { goodsId })
|
|
136
142
|
},
|
|
@@ -201,6 +207,12 @@ module.exports = {
|
|
|
201
207
|
wxpayQrcode: (data) => {
|
|
202
208
|
return request('/pay/wx/qrcode', true, 'post', data)
|
|
203
209
|
},
|
|
210
|
+
wxpayCode: data => {
|
|
211
|
+
return request('/pay/wx/paymentCode', true, 'post', data)
|
|
212
|
+
},
|
|
213
|
+
wxpayApp: data => {
|
|
214
|
+
return request('/pay/wx/app', true, 'post', data);
|
|
215
|
+
},
|
|
204
216
|
wxpayFOMO: (data) => {
|
|
205
217
|
return request('/pay/fomo/wxapp', true, 'post', data)
|
|
206
218
|
},
|
|
@@ -249,12 +261,42 @@ module.exports = {
|
|
|
249
261
|
alipayAPP: (data) => {
|
|
250
262
|
return request('/pay/alipay/gate/app', true, 'post', data)
|
|
251
263
|
},
|
|
264
|
+
alipayQrcode: (data) => {
|
|
265
|
+
return request('/pay/alipay/gate/qrcode', true, 'post', data)
|
|
266
|
+
},
|
|
267
|
+
alipayQrcode2: (data) => {
|
|
268
|
+
return request('/pay/alipay/gate/paymentCode', true, 'post', data)
|
|
269
|
+
},
|
|
252
270
|
login_wx: (code) => {
|
|
253
271
|
return request('/user/wxapp/login', true, 'post', {
|
|
254
272
|
code,
|
|
255
273
|
type: 2
|
|
256
274
|
})
|
|
257
275
|
},
|
|
276
|
+
login_tt: (code) => {
|
|
277
|
+
return request('/user/tt/microapp/login', true, 'post', {
|
|
278
|
+
code
|
|
279
|
+
})
|
|
280
|
+
},
|
|
281
|
+
login_q: (code) => {
|
|
282
|
+
return request('/user/q/login', true, 'post', {
|
|
283
|
+
code,
|
|
284
|
+
type: 2
|
|
285
|
+
})
|
|
286
|
+
},
|
|
287
|
+
loginWxaMobile: (code, encryptedData, iv) => {
|
|
288
|
+
return request('/user/wxapp/login/mobile', true, 'post', {
|
|
289
|
+
code,
|
|
290
|
+
encryptedData,
|
|
291
|
+
iv
|
|
292
|
+
})
|
|
293
|
+
},
|
|
294
|
+
loginWxaMobileV2: data => {
|
|
295
|
+
return request('/user/wxapp/login/mobile', true, 'post', data)
|
|
296
|
+
},
|
|
297
|
+
fetchWxaMobile: (code) => {
|
|
298
|
+
return request('/user/wxapp/getMobile', true, 'get', { code })
|
|
299
|
+
},
|
|
258
300
|
login_username: (data) => {
|
|
259
301
|
return request('/user/username/login', true, 'post', data)
|
|
260
302
|
},
|
|
@@ -314,9 +356,9 @@ module.exports = {
|
|
|
314
356
|
goodsv2: (data) => {
|
|
315
357
|
return request('/shop/goods/list/v2', true, 'post', data)
|
|
316
358
|
},
|
|
317
|
-
goodsDetail: (id) => {
|
|
359
|
+
goodsDetail: (id, token = '') => {
|
|
318
360
|
return request('/shop/goods/detail', true, 'get', {
|
|
319
|
-
id
|
|
361
|
+
id, token
|
|
320
362
|
})
|
|
321
363
|
},
|
|
322
364
|
goodsLimitations: (goodsId, priceId = '') => {
|
|
@@ -329,6 +371,21 @@ module.exports = {
|
|
|
329
371
|
goodsId, propertyChildIds
|
|
330
372
|
})
|
|
331
373
|
},
|
|
374
|
+
goodsAddition: (goodsId) => {
|
|
375
|
+
return request('/shop/goods/goodsAddition', true, 'get', {
|
|
376
|
+
goodsId
|
|
377
|
+
})
|
|
378
|
+
},
|
|
379
|
+
goodsVideoEpisodesList: (goodsId, token = '') => {
|
|
380
|
+
return request('/goodsVideoEpisodes/list', true, 'get', {
|
|
381
|
+
goodsId, token
|
|
382
|
+
})
|
|
383
|
+
},
|
|
384
|
+
goodsVideoEpisodesBuy: (goodsId, number, token) => {
|
|
385
|
+
return request('/goodsVideoEpisodes/buy', true, 'post', {
|
|
386
|
+
goodsId, number, token
|
|
387
|
+
})
|
|
388
|
+
},
|
|
332
389
|
goodsPrice: (goodsId, propertyChildIds) => {
|
|
333
390
|
return request('/shop/goods/price', true, 'post', {
|
|
334
391
|
goodsId, propertyChildIds
|
|
@@ -353,6 +410,9 @@ module.exports = {
|
|
|
353
410
|
goodsFavList: data => {
|
|
354
411
|
return request('/shop/goods/fav/list', true, 'post', data)
|
|
355
412
|
},
|
|
413
|
+
goodsFavListV2: data => {
|
|
414
|
+
return request('/shop/goods/fav/list/v2', true, 'post', data)
|
|
415
|
+
},
|
|
356
416
|
goodsFavPut: (token, goodsId) => {
|
|
357
417
|
return request('/shop/goods/fav/add', true, 'post', {
|
|
358
418
|
token, goodsId
|
|
@@ -553,6 +613,9 @@ module.exports = {
|
|
|
553
613
|
orderReputation: (data) => {
|
|
554
614
|
return request('/order/reputation', true, 'post', data)
|
|
555
615
|
},
|
|
616
|
+
orderReputationList: (data) => {
|
|
617
|
+
return request('/order/listReputation', true, 'post', data)
|
|
618
|
+
},
|
|
556
619
|
orderClose: (token, orderId) => {
|
|
557
620
|
return request('/order/close', true, 'post', {
|
|
558
621
|
orderId,
|
|
@@ -619,6 +682,11 @@ module.exports = {
|
|
|
619
682
|
pid
|
|
620
683
|
})
|
|
621
684
|
},
|
|
685
|
+
regionInfo: (id) => {
|
|
686
|
+
return request('/common/region/v2/info', false, 'get', {
|
|
687
|
+
id
|
|
688
|
+
})
|
|
689
|
+
},
|
|
622
690
|
cashLogs: (data) => {
|
|
623
691
|
return request('/user/cashLog', true, 'post', data)
|
|
624
692
|
},
|
|
@@ -732,6 +800,9 @@ module.exports = {
|
|
|
732
800
|
uploadFileList: (path = '') => {
|
|
733
801
|
return request('/dfs/upload/list', true, 'post', { path })
|
|
734
802
|
},
|
|
803
|
+
galleryList: data => {
|
|
804
|
+
return request('/dfs/gallery', true, 'post', data)
|
|
805
|
+
},
|
|
735
806
|
refundApply: (data) => {
|
|
736
807
|
return request('/order/refundApply/apply', true, 'post', data)
|
|
737
808
|
},
|
|
@@ -786,6 +857,18 @@ module.exports = {
|
|
|
786
857
|
cmsTags: () => {
|
|
787
858
|
return request('/cms/tags/list', true, 'get', { })
|
|
788
859
|
},
|
|
860
|
+
cmsNewsSignUsers: (data) => {
|
|
861
|
+
return request('/newsSign/signUsers', true, 'post', data)
|
|
862
|
+
},
|
|
863
|
+
cmsNewsSignOnline: (data) => {
|
|
864
|
+
return request('/newsSign/signOnline', true, 'post', data)
|
|
865
|
+
},
|
|
866
|
+
cmsNewsSignOffline: (data) => {
|
|
867
|
+
return request('/newsSign/signOffline', true, 'post', data)
|
|
868
|
+
},
|
|
869
|
+
cmsNewsSignCheck: (token, newsId) => {
|
|
870
|
+
return request('/newsSign/check', true, 'get', { token, newsId })
|
|
871
|
+
},
|
|
789
872
|
invoiceList: (data) => {
|
|
790
873
|
return request('/invoice/list', true, 'post', data)
|
|
791
874
|
},
|
|
@@ -825,12 +908,51 @@ module.exports = {
|
|
|
825
908
|
shopSubdetail: (id) => {
|
|
826
909
|
return request('/shop/subshop/detail/v2', true, 'get', { id })
|
|
827
910
|
},
|
|
911
|
+
shopSubApply: (data) => {
|
|
912
|
+
return request('/shop/subshop/apply', true, 'post', data)
|
|
913
|
+
},
|
|
914
|
+
pickPoints: (data) => {
|
|
915
|
+
return request('/shop/subshop/pickPoints', true, 'post', data)
|
|
916
|
+
},
|
|
917
|
+
shopReputationList: (data) => {
|
|
918
|
+
return request('/shop/subshop/listReputation', true, 'post', data)
|
|
919
|
+
},
|
|
920
|
+
shopFavPut: (token, shopId) => {
|
|
921
|
+
return request('/shop/fav/add', true, 'post', { token, shopId })
|
|
922
|
+
},
|
|
923
|
+
shopFavCheck: (token, shopId) => {
|
|
924
|
+
return request('/shop/fav/check', true, 'get', { token, shopId })
|
|
925
|
+
},
|
|
926
|
+
shopFavList: (data) => {
|
|
927
|
+
return request('/shop/fav/list', true, 'post', data)
|
|
928
|
+
},
|
|
929
|
+
shopFavDelete: (token, shopId) => {
|
|
930
|
+
return request('/shop/fav/delete', true, 'post', { token, shopId })
|
|
931
|
+
},
|
|
932
|
+
userAttendantFavPut: (token, attendantId) => {
|
|
933
|
+
return request('/userAttendantFav/add', true, 'post', { token, attendantId })
|
|
934
|
+
},
|
|
935
|
+
userAttendantFavCheck: (token, attendantId) => {
|
|
936
|
+
return request('/userAttendantFav/check', true, 'get', { token, attendantId })
|
|
937
|
+
},
|
|
938
|
+
userAttendantFavList: (data) => {
|
|
939
|
+
return request('/userAttendantFav/list', true, 'post', data)
|
|
940
|
+
},
|
|
941
|
+
userAttendantFavDelete: (token, attendantId) => {
|
|
942
|
+
return request('/userAttendantFav/delete', true, 'post', { token, attendantId })
|
|
943
|
+
},
|
|
828
944
|
addComment: (data) => {
|
|
829
945
|
return request('/comment/add', true, 'post', data)
|
|
830
946
|
},
|
|
831
947
|
commentList: (data) => {
|
|
832
948
|
return request('/comment/list', true, 'post', data)
|
|
833
949
|
},
|
|
950
|
+
commentListV2: (data) => {
|
|
951
|
+
return request('/comment/list/v2', true, 'post', data)
|
|
952
|
+
},
|
|
953
|
+
delComment: (data) => {
|
|
954
|
+
return request('/comment/del', true, 'post', data)
|
|
955
|
+
},
|
|
834
956
|
modifyUserInfo: (data) => {
|
|
835
957
|
return request('/user/modify', true, 'post', data)
|
|
836
958
|
},
|
|
@@ -901,6 +1023,9 @@ module.exports = {
|
|
|
901
1023
|
mapQQAddress: (location = '', coord_type = '5') => {
|
|
902
1024
|
return request('/common/map/qq/address', false, 'get', { location, coord_type })
|
|
903
1025
|
},
|
|
1026
|
+
mapQQAddressV2: (key, location, coord_type = '5') => {
|
|
1027
|
+
return request('/common/map/qq/address', false, 'get', { key, location, coord_type })
|
|
1028
|
+
},
|
|
904
1029
|
mapQQSearch: (data) => {
|
|
905
1030
|
return request('/common/map/qq/search', false, 'post', data)
|
|
906
1031
|
},
|
|
@@ -931,6 +1056,12 @@ module.exports = {
|
|
|
931
1056
|
loginout: (token) => {
|
|
932
1057
|
return request('/user/loginout', true, 'get', { token })
|
|
933
1058
|
},
|
|
1059
|
+
userDelete: (token) => {
|
|
1060
|
+
return request('/user/delete', true, 'post', { token })
|
|
1061
|
+
},
|
|
1062
|
+
dynamicUserCode: (token) => {
|
|
1063
|
+
return request('/user/dynamicUserCode', true, 'get', { token })
|
|
1064
|
+
},
|
|
934
1065
|
userLevelList: (data) => {
|
|
935
1066
|
return request('/user/level/list', true, 'post', data)
|
|
936
1067
|
},
|
|
@@ -987,6 +1118,9 @@ module.exports = {
|
|
|
987
1118
|
remark
|
|
988
1119
|
})
|
|
989
1120
|
},
|
|
1121
|
+
voteCategory: (data) => {
|
|
1122
|
+
return request('/vote/vote/category', true, 'post', data)
|
|
1123
|
+
},
|
|
990
1124
|
myVote: (token, voteId) => {
|
|
991
1125
|
return request('/vote/vote/info', true, 'get', {
|
|
992
1126
|
token, voteId,
|
|
@@ -995,6 +1129,15 @@ module.exports = {
|
|
|
995
1129
|
voteLogs: (data) => {
|
|
996
1130
|
return request('/vote/vote/list', true, 'post', data)
|
|
997
1131
|
},
|
|
1132
|
+
voteGroups: (data) => {
|
|
1133
|
+
return request('/vote/vote/groups', true, 'post', data)
|
|
1134
|
+
},
|
|
1135
|
+
voteGroupsDetail: (data) => {
|
|
1136
|
+
return request('/vote/vote/groups/detail', true, 'get', data)
|
|
1137
|
+
},
|
|
1138
|
+
myInviteVoteJoinList: (data) => {
|
|
1139
|
+
return request('/vote/myInviteLoinList', true, 'post', data)
|
|
1140
|
+
},
|
|
998
1141
|
yuyueItems: (data) => {
|
|
999
1142
|
return request('/yuyue/items', true, 'post', data)
|
|
1000
1143
|
},
|
|
@@ -1014,6 +1157,11 @@ module.exports = {
|
|
|
1014
1157
|
token, joinId, extJsonStr
|
|
1015
1158
|
})
|
|
1016
1159
|
},
|
|
1160
|
+
yuyueJoinDelete: (token, joinId) => {
|
|
1161
|
+
return request('/yuyue/delJoin', true, 'post', {
|
|
1162
|
+
token, id: joinId
|
|
1163
|
+
})
|
|
1164
|
+
},
|
|
1017
1165
|
yuyueMyJoinInfo: (token, joinId) => {
|
|
1018
1166
|
return request('/yuyue/join/info', true, 'post', {
|
|
1019
1167
|
token, joinId
|
|
@@ -1184,6 +1332,9 @@ module.exports = {
|
|
|
1184
1332
|
wxappServiceBindMobile: data => {
|
|
1185
1333
|
return request('/user/wxappService/bindMobile', true, 'post', data)
|
|
1186
1334
|
},
|
|
1335
|
+
wxappServiceBindMobileV2: data => {
|
|
1336
|
+
return request('/user/wxappService/bindMobile/v2', true, 'post', data)
|
|
1337
|
+
},
|
|
1187
1338
|
wxappServiceBindOpenid: data => {
|
|
1188
1339
|
return request('/user/wxappService/bindOpenid', true, 'post', data)
|
|
1189
1340
|
},
|
|
@@ -1246,6 +1397,51 @@ module.exports = {
|
|
|
1246
1397
|
roomId
|
|
1247
1398
|
})
|
|
1248
1399
|
},
|
|
1400
|
+
peisonFeeList: () => {
|
|
1401
|
+
return request('/fee/peisong/list', true, 'get')
|
|
1402
|
+
},
|
|
1403
|
+
peisongMembers: (data) => {
|
|
1404
|
+
return request('/peisong/member/list', true, 'post', data)
|
|
1405
|
+
},
|
|
1406
|
+
peisongMemberInfo: (token) => {
|
|
1407
|
+
return request('/peisong/member/info', true, 'get', {
|
|
1408
|
+
token
|
|
1409
|
+
})
|
|
1410
|
+
},
|
|
1411
|
+
peisongMemberChangeWorkStatus: (token) => {
|
|
1412
|
+
return request('/peisong/member/change-work-status', true, 'post', {
|
|
1413
|
+
token
|
|
1414
|
+
})
|
|
1415
|
+
},
|
|
1416
|
+
peisongOrdersGrabbing: (token) => {
|
|
1417
|
+
return request('/peisong/order/grabbing', true, 'get', { token })
|
|
1418
|
+
},
|
|
1419
|
+
peisongOrders: (data) => {
|
|
1420
|
+
return request('/peisong/order/list', true, 'post', data)
|
|
1421
|
+
},
|
|
1422
|
+
peisongOrderGrab: (data) => {
|
|
1423
|
+
return request('/peisong/order/grab', true, 'post', data)
|
|
1424
|
+
},
|
|
1425
|
+
peisongOrderDetail: (token, id) => {
|
|
1426
|
+
return request('/peisong/order/detail', true, 'get', { token, id })
|
|
1427
|
+
},
|
|
1428
|
+
peisongOrderEstimatedCompletionTime: (data) => {
|
|
1429
|
+
return request('/peisong/order/estimatedCompletionTime', true, 'post', data)
|
|
1430
|
+
},
|
|
1431
|
+
peisongStartService: (data) => {
|
|
1432
|
+
return request('/peisong/order/start-service', true, 'post', data)
|
|
1433
|
+
},
|
|
1434
|
+
peisongEndService: (data) => {
|
|
1435
|
+
return request('/peisong/order/end-service', true, 'post', data)
|
|
1436
|
+
},
|
|
1437
|
+
peisongEndServiceRemark: (token, id, remarkEnd) => {
|
|
1438
|
+
return request('/peisong/order/end-service/remarkEnd', true, 'post', { token, id, remarkEnd })
|
|
1439
|
+
},
|
|
1440
|
+
peisongOrderAllocation: (token, id, uid) => {
|
|
1441
|
+
return request('/peisong/order/allocation', true, 'post', {
|
|
1442
|
+
token, id, uid
|
|
1443
|
+
})
|
|
1444
|
+
},
|
|
1249
1445
|
// 京东联盟相关接口
|
|
1250
1446
|
unionjdCategoryList: data => {
|
|
1251
1447
|
return request('/unionjd/category/list', false, 'get', data)
|
|
@@ -1433,7 +1629,7 @@ module.exports = {
|
|
|
1433
1629
|
},
|
|
1434
1630
|
// 会员卡
|
|
1435
1631
|
cardList: data => {
|
|
1436
|
-
return request('/card/list', true, '
|
|
1632
|
+
return request('/card/list', true, 'get', data)
|
|
1437
1633
|
},
|
|
1438
1634
|
cardInfo: id => {
|
|
1439
1635
|
return request('/card/info', true, 'get', { id })
|
|
@@ -1541,7 +1737,7 @@ module.exports = {
|
|
|
1541
1737
|
momentsPublish: data => {
|
|
1542
1738
|
return request('/user/moments/publish', true, 'post', data)
|
|
1543
1739
|
},
|
|
1544
|
-
|
|
1740
|
+
userMomentsList: data => {
|
|
1545
1741
|
return request('/user/moments/list', true, 'get', data)
|
|
1546
1742
|
},
|
|
1547
1743
|
momentsDetail: (token, momentsId) => {
|
|
@@ -1589,6 +1785,9 @@ module.exports = {
|
|
|
1589
1785
|
commonDatetime: () => {
|
|
1590
1786
|
return request('/common/datetime', true, 'get')
|
|
1591
1787
|
},
|
|
1788
|
+
commonDays: (startDay = '', days = '') => {
|
|
1789
|
+
return request('/common/days', false, 'get', { startDay, days })
|
|
1790
|
+
},
|
|
1592
1791
|
// 支付宝小程序
|
|
1593
1792
|
aliappUserRegister: data => {
|
|
1594
1793
|
return request('/user/aliapp/register', true, 'post', data)
|
|
@@ -1599,7 +1798,113 @@ module.exports = {
|
|
|
1599
1798
|
aliappUserAuthorize: data => {
|
|
1600
1799
|
return request('/user/aliapp/authorize', true, 'post', data)
|
|
1601
1800
|
},
|
|
1801
|
+
aliappWebUserAuthorize: data => {
|
|
1802
|
+
return request('/user/aliappweb/authorize', true, 'post', data)
|
|
1803
|
+
},
|
|
1602
1804
|
aliappQrcode: content => {
|
|
1603
1805
|
return request('/user/aliapp/qrcode', true, 'post', { content })
|
|
1604
1806
|
},
|
|
1807
|
+
// 企业应用 组织/成员/网盘
|
|
1808
|
+
organizePrices: () => {
|
|
1809
|
+
return request('/organizeInfo/prices', true, 'get')
|
|
1810
|
+
},
|
|
1811
|
+
organizeCreate: data => {
|
|
1812
|
+
return request('/organizeInfo/create', true, 'post', data)
|
|
1813
|
+
},
|
|
1814
|
+
organizeUpgrade: data => {
|
|
1815
|
+
return request('/organizeInfo/upgrade', true, 'post', data)
|
|
1816
|
+
},
|
|
1817
|
+
organizeModify: data => {
|
|
1818
|
+
return request('/organizeInfo/modify', true, 'post', data)
|
|
1819
|
+
},
|
|
1820
|
+
organizeJoinKey: data => {
|
|
1821
|
+
return request('/organizeInfo/joinKey', true, 'get', data)
|
|
1822
|
+
},
|
|
1823
|
+
organizeJoin: data => {
|
|
1824
|
+
return request('/organizeInfo/join', true, 'post', data)
|
|
1825
|
+
},
|
|
1826
|
+
organizeGrantAdmin: data => {
|
|
1827
|
+
return request('/organizeInfo/grantAdmin', true, 'post', data)
|
|
1828
|
+
},
|
|
1829
|
+
organizeKick: data => {
|
|
1830
|
+
return request('/organizeInfo/kick', true, 'post', data)
|
|
1831
|
+
},
|
|
1832
|
+
organizeKickAllMembers: data => {
|
|
1833
|
+
return request('/organizeInfo/kickAllMembers', true, 'post', data)
|
|
1834
|
+
},
|
|
1835
|
+
organizeKickSelf: data => {
|
|
1836
|
+
return request('/organizeInfo/kickSelf', true, 'post', data)
|
|
1837
|
+
},
|
|
1838
|
+
organizeNick: data => {
|
|
1839
|
+
return request('/organizeInfo/nick', true, 'post', data)
|
|
1840
|
+
},
|
|
1841
|
+
organizeDelete: data => {
|
|
1842
|
+
return request('/organizeInfo/deleteOrganize', true, 'post', data)
|
|
1843
|
+
},
|
|
1844
|
+
organizeMyOrganizeInfo: data => {
|
|
1845
|
+
return request('/organizeInfo/myOrganizeInfo', true, 'post', data)
|
|
1846
|
+
},
|
|
1847
|
+
organizeDetail: data => {
|
|
1848
|
+
return request('/organizeInfo/organizeDetail', true, 'get', data)
|
|
1849
|
+
},
|
|
1850
|
+
organizeMembers: data => {
|
|
1851
|
+
return request('/organizeInfo/members', true, 'post', data)
|
|
1852
|
+
},
|
|
1853
|
+
newsExtFieldList: (token, organizeId, newsId) => {
|
|
1854
|
+
return request('/newsExtField/extFields', true, 'get', { token, organizeId, newsId })
|
|
1855
|
+
},
|
|
1856
|
+
newsExtFieldDynamic: (token, newsId) => {
|
|
1857
|
+
return request('/newsExtField/dynamic', true, 'get', { token, newsId })
|
|
1858
|
+
},
|
|
1859
|
+
newsExtFieldSet: data => {
|
|
1860
|
+
return request('/newsExtField/setField', true, 'post', data)
|
|
1861
|
+
},
|
|
1862
|
+
userAttendantList: data => {
|
|
1863
|
+
return request('/user/attendant/list', true, 'post', data)
|
|
1864
|
+
},
|
|
1865
|
+
userAttendantDetail: (id, token = '') => {
|
|
1866
|
+
return request('/user/attendant/detail', true, 'get', { id, token })
|
|
1867
|
+
},
|
|
1868
|
+
userAttendantGoods: (id) => {
|
|
1869
|
+
return request('/user/attendant/goods', true, 'get', { id })
|
|
1870
|
+
},
|
|
1871
|
+
userAttendantGoodsSet: (token, ids) => {
|
|
1872
|
+
return request('/user/attendant/goodsSet', true, 'post', { token, ids })
|
|
1873
|
+
},
|
|
1874
|
+
userAttendantBindShop: (token, shopId) => {
|
|
1875
|
+
return request('/user/attendant/bindShop', true, 'post', { shopId, token })
|
|
1876
|
+
},
|
|
1877
|
+
userAttendantUnBindShop: (token) => {
|
|
1878
|
+
return request('/user/attendant/unbindShop', true, 'post', { token })
|
|
1879
|
+
},
|
|
1880
|
+
userAttendantChangeStatus: data => {
|
|
1881
|
+
return request('/user/attendant/changeStatus', true, 'post', data)
|
|
1882
|
+
},
|
|
1883
|
+
userAttendantDaysTimesAttendant: (goodsId, day) => {
|
|
1884
|
+
return request('/user/attendant/daysTimesAttendant', true, 'get', { goodsId, day })
|
|
1885
|
+
},
|
|
1886
|
+
userAttendantDaysTimesAttendantSetQuery: (token, day) => {
|
|
1887
|
+
return request('/user/attendant/daysTimesAttendant/set/query', true, 'get', { token, day })
|
|
1888
|
+
},
|
|
1889
|
+
userAttendantDaysTimesAttendantSet: data => {
|
|
1890
|
+
return request('/user/attendant/daysTimesAttendant/set', true, 'post', data)
|
|
1891
|
+
},
|
|
1892
|
+
userAttendantListReputation: data => {
|
|
1893
|
+
return request('/user/attendant/listReputation', true, 'post', data)
|
|
1894
|
+
},
|
|
1895
|
+
userAttendantShowPics: id => {
|
|
1896
|
+
return request('/user/attendant/showPics', true, 'get', { id })
|
|
1897
|
+
},
|
|
1898
|
+
userAttendantShowPicsAdd: (token, url) => {
|
|
1899
|
+
return request('/user/attendant/showPicsAdd', true, 'post', { token, url })
|
|
1900
|
+
},
|
|
1901
|
+
userAttendantUpdate: data => {
|
|
1902
|
+
return request('/user/attendant/update', true, 'post', data)
|
|
1903
|
+
},
|
|
1904
|
+
shopCategory: () => {
|
|
1905
|
+
return request('/shopCategory/all', true, 'get')
|
|
1906
|
+
},
|
|
1907
|
+
shopCategoryDetail: (id) => {
|
|
1908
|
+
return request('/shopCategory/info', true, 'get', { id })
|
|
1909
|
+
},
|
|
1605
1910
|
}
|
package/package.json
CHANGED