apifm-webapi 3.47.0 → 3.51.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.
Files changed (2) hide show
  1. package/index.js +26 -0
  2. 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
  },
@@ -312,6 +315,11 @@ module.exports = {
312
315
  goodsId, priceId
313
316
  })
314
317
  },
318
+ goodsLimitationsV2: (goodsId, propertyChildIds = '') => {
319
+ return request('/shop/goods/limitation', true, 'get', {
320
+ goodsId, propertyChildIds
321
+ })
322
+ },
315
323
  goodsPrice: (goodsId, propertyChildIds) => {
316
324
  return request('/shop/goods/price', true, 'post', {
317
325
  goodsId, propertyChildIds
@@ -762,6 +770,15 @@ module.exports = {
762
770
  depositBackApply: (token, id) => {
763
771
  return request('/deposit/back/apply', true, 'post', { token, id })
764
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
+ },
765
782
  fetchShopsCities: () => {
766
783
  return request('/shop/subshop/cities', true, 'get')
767
784
  },
@@ -1502,4 +1519,13 @@ module.exports = {
1502
1519
  bottleMsgSalvage: token => {
1503
1520
  return request('/bottleMsg/salvage', true, 'get', { token })
1504
1521
  },
1522
+ userInvoiceInfo: token => {
1523
+ return request('/userInvoice/info', true, 'get', { token })
1524
+ },
1525
+ userInvoiceUnbind: token => {
1526
+ return request('/userInvoice/unbind', true, 'post', { token })
1527
+ },
1528
+ userInvoiceBind: data => {
1529
+ return request('/userInvoice/bind', true, 'post', data)
1530
+ },
1505
1531
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "3.47.0",
3
+ "version": "3.51.0",
4
4
  "description": "增加SDK方法",
5
5
  "main": "index.js",
6
6
  "scripts": {