apifm-webapi 25.4.24 → 25.5.13
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 +51 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -385,6 +385,9 @@ module.exports = {
|
|
|
385
385
|
goodsCategoryDetail: (id) => {
|
|
386
386
|
return request('/shop/goods/category/info', true, 'get', { id })
|
|
387
387
|
},
|
|
388
|
+
goodsCategoryDetailV2: (data) => {
|
|
389
|
+
return request('/shop/goods/category/info', true, 'get', data)
|
|
390
|
+
},
|
|
388
391
|
goods: (data) => {
|
|
389
392
|
return request('/shop/goods/list', true, 'post', data)
|
|
390
393
|
},
|
|
@@ -811,6 +814,9 @@ module.exports = {
|
|
|
811
814
|
regionSearchV2: data => {
|
|
812
815
|
return request('https://common.apifm.com/' + subDomain + '/region/search', false, 'post', data)
|
|
813
816
|
},
|
|
817
|
+
regionAnalysis: address => {
|
|
818
|
+
return request('https://common.apifm.com/' + subDomain + '/region/analysis', false, 'post', { address })
|
|
819
|
+
},
|
|
814
820
|
cashLogs: (data) => {
|
|
815
821
|
return request('/user/cashLog', true, 'post', data)
|
|
816
822
|
},
|
|
@@ -1121,6 +1127,9 @@ module.exports = {
|
|
|
1121
1127
|
fetchShops: (data) => {
|
|
1122
1128
|
return request('/shop/subshop/list', true, 'post', data)
|
|
1123
1129
|
},
|
|
1130
|
+
fetchShopsV2: (data) => {
|
|
1131
|
+
return request('/shop/subshop/list/v2', true, 'post', data)
|
|
1132
|
+
},
|
|
1124
1133
|
shopSubdetail: (id) => {
|
|
1125
1134
|
return request('/shop/subshop/detail/v2', true, 'get', { id })
|
|
1126
1135
|
},
|
|
@@ -1296,6 +1305,15 @@ module.exports = {
|
|
|
1296
1305
|
idcardCheckManualReviewInfo: (token) => {
|
|
1297
1306
|
return request('/user/idcard/manualReview/info', true, 'get', { token })
|
|
1298
1307
|
},
|
|
1308
|
+
userTagList: (data) => {
|
|
1309
|
+
return request('/userTag/list', true, 'post', data)
|
|
1310
|
+
},
|
|
1311
|
+
userTagCertificateQuery: (token) => {
|
|
1312
|
+
return request('/userTag/certificate/query', true, 'get', { token })
|
|
1313
|
+
},
|
|
1314
|
+
userTagCertificate: (data) => {
|
|
1315
|
+
return request('/userTag/certificate', true, 'post', data)
|
|
1316
|
+
},
|
|
1299
1317
|
loginout: (token) => {
|
|
1300
1318
|
return request('/user/loginout', true, 'get', { token })
|
|
1301
1319
|
},
|
|
@@ -1460,6 +1478,18 @@ module.exports = {
|
|
|
1460
1478
|
yuyueTeamDeleteMember: data => {
|
|
1461
1479
|
return request('/yuyue/info/team/members/del', true, 'post', data)
|
|
1462
1480
|
},
|
|
1481
|
+
yuyueFavList: data => {
|
|
1482
|
+
return request('/yuyue/fav/list', true, 'post', data)
|
|
1483
|
+
},
|
|
1484
|
+
yuyueFavAdd: data => {
|
|
1485
|
+
return request('/yuyue/fav/add', true, 'post', data)
|
|
1486
|
+
},
|
|
1487
|
+
yuyueFavDelete: data => {
|
|
1488
|
+
return request('/yuyue/fav/delete', true, 'post', data)
|
|
1489
|
+
},
|
|
1490
|
+
yuyueFavCheck: data => {
|
|
1491
|
+
return request('/yuyue/fav/check', true, 'get', data)
|
|
1492
|
+
},
|
|
1463
1493
|
register_email: (data) => {
|
|
1464
1494
|
return request('/user/email/register', true, 'post', data)
|
|
1465
1495
|
},
|
|
@@ -1477,6 +1507,9 @@ module.exports = {
|
|
|
1477
1507
|
goodsDynamicV2: data => {
|
|
1478
1508
|
return request('/site/goods/dynamic', true, 'get', data)
|
|
1479
1509
|
},
|
|
1510
|
+
usersDynamic: (type) => {
|
|
1511
|
+
return request('https://common.apifm.com/' + subDomain + '/site/user/dynamic', false, 'get', { type })
|
|
1512
|
+
},
|
|
1480
1513
|
shippingCarInfo: (token) => {
|
|
1481
1514
|
return request('/shopping-cart/info', true, 'get', {
|
|
1482
1515
|
token
|
|
@@ -1694,6 +1727,24 @@ module.exports = {
|
|
|
1694
1727
|
channelDataPull: (key) => {
|
|
1695
1728
|
return request('/channelData/pull', true, 'get', { key })
|
|
1696
1729
|
},
|
|
1730
|
+
bindPartner: (token, partnerId) => {
|
|
1731
|
+
return request('/user/bindPartner', true, 'post', { token, uid: partnerId })
|
|
1732
|
+
},
|
|
1733
|
+
partnerSetting: () => {
|
|
1734
|
+
return request('/partner/setting', true, 'get')
|
|
1735
|
+
},
|
|
1736
|
+
partnerBindTeamLeader: (token, uid) => {
|
|
1737
|
+
return request('/partner/bindTeamLeader', true, 'post', { token, uid })
|
|
1738
|
+
},
|
|
1739
|
+
partnerBuyTeamLeader: token => {
|
|
1740
|
+
return request('/partner/buy', true, 'post', { token })
|
|
1741
|
+
},
|
|
1742
|
+
partnerMembersStatistics: token => {
|
|
1743
|
+
return request('https://common.apifm.com/' + subDomain + '/partner/members/statistics', false, 'get', { token })
|
|
1744
|
+
},
|
|
1745
|
+
partnerMembers: data => {
|
|
1746
|
+
return request('https://common.apifm.com/' + subDomain + '/partner/members', false, 'post', data)
|
|
1747
|
+
},
|
|
1697
1748
|
wxaMpLiveRooms: () => {
|
|
1698
1749
|
return request('/wx/live/rooms', true, 'get')
|
|
1699
1750
|
},
|