apifm-webapi 25.5.6 → 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 +39 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -814,6 +814,9 @@ module.exports = {
|
|
|
814
814
|
regionSearchV2: data => {
|
|
815
815
|
return request('https://common.apifm.com/' + subDomain + '/region/search', false, 'post', data)
|
|
816
816
|
},
|
|
817
|
+
regionAnalysis: address => {
|
|
818
|
+
return request('https://common.apifm.com/' + subDomain + '/region/analysis', false, 'post', { address })
|
|
819
|
+
},
|
|
817
820
|
cashLogs: (data) => {
|
|
818
821
|
return request('/user/cashLog', true, 'post', data)
|
|
819
822
|
},
|
|
@@ -1124,6 +1127,9 @@ module.exports = {
|
|
|
1124
1127
|
fetchShops: (data) => {
|
|
1125
1128
|
return request('/shop/subshop/list', true, 'post', data)
|
|
1126
1129
|
},
|
|
1130
|
+
fetchShopsV2: (data) => {
|
|
1131
|
+
return request('/shop/subshop/list/v2', true, 'post', data)
|
|
1132
|
+
},
|
|
1127
1133
|
shopSubdetail: (id) => {
|
|
1128
1134
|
return request('/shop/subshop/detail/v2', true, 'get', { id })
|
|
1129
1135
|
},
|
|
@@ -1472,6 +1478,18 @@ module.exports = {
|
|
|
1472
1478
|
yuyueTeamDeleteMember: data => {
|
|
1473
1479
|
return request('/yuyue/info/team/members/del', true, 'post', data)
|
|
1474
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
|
+
},
|
|
1475
1493
|
register_email: (data) => {
|
|
1476
1494
|
return request('/user/email/register', true, 'post', data)
|
|
1477
1495
|
},
|
|
@@ -1489,6 +1507,9 @@ module.exports = {
|
|
|
1489
1507
|
goodsDynamicV2: data => {
|
|
1490
1508
|
return request('/site/goods/dynamic', true, 'get', data)
|
|
1491
1509
|
},
|
|
1510
|
+
usersDynamic: (type) => {
|
|
1511
|
+
return request('https://common.apifm.com/' + subDomain + '/site/user/dynamic', false, 'get', { type })
|
|
1512
|
+
},
|
|
1492
1513
|
shippingCarInfo: (token) => {
|
|
1493
1514
|
return request('/shopping-cart/info', true, 'get', {
|
|
1494
1515
|
token
|
|
@@ -1706,6 +1727,24 @@ module.exports = {
|
|
|
1706
1727
|
channelDataPull: (key) => {
|
|
1707
1728
|
return request('/channelData/pull', true, 'get', { key })
|
|
1708
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
|
+
},
|
|
1709
1748
|
wxaMpLiveRooms: () => {
|
|
1710
1749
|
return request('/wx/live/rooms', true, 'get')
|
|
1711
1750
|
},
|