apifm-webapi 3.46.0 → 3.50.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 +20 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -87,6 +87,9 @@ module.exports = {
|
|
|
87
87
|
nextMobileSegment: (data) => {
|
|
88
88
|
return request('/common/mobile-segment/next', false, 'post', data)
|
|
89
89
|
},
|
|
90
|
+
forexRate: (fromCode, toCode) => {
|
|
91
|
+
return request('/forex/rate', true, 'get', { fromCode, toCode })
|
|
92
|
+
},
|
|
90
93
|
queryConfigValue: (key) => {
|
|
91
94
|
return request('/config/value', true, 'get', { key })
|
|
92
95
|
},
|
|
@@ -272,6 +275,9 @@ module.exports = {
|
|
|
272
275
|
email, pwd, code
|
|
273
276
|
})
|
|
274
277
|
},
|
|
278
|
+
wxmpAuth: data => {
|
|
279
|
+
return request('/user/wxmp/auth', true, 'post', data)
|
|
280
|
+
},
|
|
275
281
|
register_complex: (data) => {
|
|
276
282
|
return request('/user/wxapp/register/complex', true, 'post', data)
|
|
277
283
|
},
|
|
@@ -309,6 +315,11 @@ module.exports = {
|
|
|
309
315
|
goodsId, priceId
|
|
310
316
|
})
|
|
311
317
|
},
|
|
318
|
+
goodsLimitationsV2: (goodsId, propertyChildIds = '') => {
|
|
319
|
+
return request('/shop/goods/limitation', true, 'get', {
|
|
320
|
+
goodsId, propertyChildIds
|
|
321
|
+
})
|
|
322
|
+
},
|
|
312
323
|
goodsPrice: (goodsId, propertyChildIds) => {
|
|
313
324
|
return request('/shop/goods/price', true, 'post', {
|
|
314
325
|
goodsId, propertyChildIds
|
|
@@ -759,6 +770,15 @@ module.exports = {
|
|
|
759
770
|
depositBackApply: (token, id) => {
|
|
760
771
|
return request('/deposit/back/apply', true, 'post', { token, id })
|
|
761
772
|
},
|
|
773
|
+
shopAreaCities: () => {
|
|
774
|
+
return request('/shopArea/cities', true, 'get')
|
|
775
|
+
},
|
|
776
|
+
shopAreaList: (data) => {
|
|
777
|
+
return request('/shopArea/list', true, 'post', data)
|
|
778
|
+
},
|
|
779
|
+
shopAreaDetail: (id) => {
|
|
780
|
+
return request('/shopArea/detail', true, 'get', { id })
|
|
781
|
+
},
|
|
762
782
|
fetchShopsCities: () => {
|
|
763
783
|
return request('/shop/subshop/cities', true, 'get')
|
|
764
784
|
},
|