apifm-webapi 3.48.0 → 3.52.0
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 +35 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -275,6 +275,9 @@ module.exports = {
|
|
|
275
275
|
email, pwd, code
|
|
276
276
|
})
|
|
277
277
|
},
|
|
278
|
+
wxmpAuth: data => {
|
|
279
|
+
return request('/user/wxmp/auth', true, 'post', data)
|
|
280
|
+
},
|
|
278
281
|
register_complex: (data) => {
|
|
279
282
|
return request('/user/wxapp/register/complex', true, 'post', data)
|
|
280
283
|
},
|
|
@@ -293,6 +296,9 @@ module.exports = {
|
|
|
293
296
|
goodsCategory: () => {
|
|
294
297
|
return request('/shop/goods/category/all', true, 'get')
|
|
295
298
|
},
|
|
299
|
+
goodsCategoryV2: (shopId = '') => {
|
|
300
|
+
return request('/shop/goods/category/all', true, 'get', { shopId })
|
|
301
|
+
},
|
|
296
302
|
goodsCategoryDetail: (id) => {
|
|
297
303
|
return request('/shop/goods/category/info', true, 'get', { id })
|
|
298
304
|
},
|
|
@@ -637,6 +643,11 @@ module.exports = {
|
|
|
637
643
|
page, pageSize
|
|
638
644
|
})
|
|
639
645
|
},
|
|
646
|
+
fxSaleroomRankTotalTeam: (page, pageSize) => {
|
|
647
|
+
return request('/saleDistribution/sale-room-rank/team/total', true, 'get', {
|
|
648
|
+
page, pageSize
|
|
649
|
+
})
|
|
650
|
+
},
|
|
640
651
|
fxSaleroomRankDaily: (page, pageSize, day) => {
|
|
641
652
|
return request('/saleDistribution/sale-room-rank/daily', true, 'get', {
|
|
642
653
|
page, pageSize, day
|
|
@@ -767,6 +778,15 @@ module.exports = {
|
|
|
767
778
|
depositBackApply: (token, id) => {
|
|
768
779
|
return request('/deposit/back/apply', true, 'post', { token, id })
|
|
769
780
|
},
|
|
781
|
+
shopAreaCities: () => {
|
|
782
|
+
return request('/shopArea/cities', true, 'get')
|
|
783
|
+
},
|
|
784
|
+
shopAreaList: (data) => {
|
|
785
|
+
return request('/shopArea/list', true, 'post', data)
|
|
786
|
+
},
|
|
787
|
+
shopAreaDetail: (id) => {
|
|
788
|
+
return request('/shopArea/detail', true, 'get', { id })
|
|
789
|
+
},
|
|
770
790
|
fetchShopsCities: () => {
|
|
771
791
|
return request('/shop/subshop/cities', true, 'get')
|
|
772
792
|
},
|
|
@@ -996,6 +1016,12 @@ module.exports = {
|
|
|
996
1016
|
token, email, code, pwd
|
|
997
1017
|
})
|
|
998
1018
|
},
|
|
1019
|
+
goodsDynamic: (type) => {
|
|
1020
|
+
return request('/site/goods/dynamic', true, 'get', { type })
|
|
1021
|
+
},
|
|
1022
|
+
goodsDynamicV2: data => {
|
|
1023
|
+
return request('/site/goods/dynamic', true, 'get', data)
|
|
1024
|
+
},
|
|
999
1025
|
shippingCarInfo: (token) => {
|
|
1000
1026
|
return request('/shopping-cart/info', true, 'get', {
|
|
1001
1027
|
token
|
|
@@ -1507,4 +1533,13 @@ module.exports = {
|
|
|
1507
1533
|
bottleMsgSalvage: token => {
|
|
1508
1534
|
return request('/bottleMsg/salvage', true, 'get', { token })
|
|
1509
1535
|
},
|
|
1536
|
+
userInvoiceInfo: token => {
|
|
1537
|
+
return request('/userInvoice/info', true, 'get', { token })
|
|
1538
|
+
},
|
|
1539
|
+
userInvoiceUnbind: token => {
|
|
1540
|
+
return request('/userInvoice/unbind', true, 'post', { token })
|
|
1541
|
+
},
|
|
1542
|
+
userInvoiceBind: data => {
|
|
1543
|
+
return request('/userInvoice/bind', true, 'post', data)
|
|
1544
|
+
},
|
|
1510
1545
|
}
|