apifm-webapi 26.9.17 → 26.9.20

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 +13 -13
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -263,13 +263,13 @@ module.exports = {
263
263
  return request('/pay/wepayez/wxapp', true, 'post', data)
264
264
  },
265
265
  wxpayxpert: (data) => {
266
- return request('/pay/payxpert/wxapp', true, 'post', data)
266
+ return request(COMMON_BASE_URL + subDomain + '/pay/payxpert/wxapp', false, 'post', data)
267
267
  },
268
268
  wxpayIPaynow: (data) => {
269
269
  return request('/pay/ipaynow/wxapp', true, 'post', data)
270
270
  },
271
271
  ccvvPayWxapp: (data) => {
272
- return request('/pay/ccvv/wxapp', true, 'post', data)
272
+ return request(COMMON_BASE_URL + subDomain + '/pay/ccvv/wxapp', false, 'post', data)
273
273
  },
274
274
  wxpayAirwallex: (data) => {
275
275
  return request('/pay/airwallex/wxapp', true, 'post', data)
@@ -302,7 +302,7 @@ module.exports = {
302
302
  return request('/pay/kasipay/h5', true, 'post', data)
303
303
  },
304
304
  hmpayJsapi: (data) => {
305
- return request('/pay/sandpay/hmpay/jsapi', true, 'post', data)
305
+ return request(COMMON_BASE_URL + subDomain + '/pay/sandpay/hmpay/jsapi', false, 'post', data)
306
306
  },
307
307
  login_wx: (code) => {
308
308
  return request('/user/wxapp/login', true, 'post', {
@@ -2268,22 +2268,22 @@ module.exports = {
2268
2268
  },
2269
2269
  // 回收
2270
2270
  recycleOrders: data => {
2271
- return request('/recycleOrder/list', true, 'post', data)
2271
+ return request(COMMON_BASE_URL + subDomain + '/recycleOrder/list', false, 'post', data)
2272
2272
  },
2273
2273
  recycleOrderApply: data => {
2274
- return request('/recycleOrder/apply', true, 'post', data)
2274
+ return request(COMMON_BASE_URL + subDomain + '/recycleOrder/apply', false, 'post', data)
2275
2275
  },
2276
2276
  recycleOrderDetail: (token, id) => {
2277
- return request('/recycleOrder/detail', true, 'get', { token, id })
2277
+ return request(COMMON_BASE_URL + subDomain + '/recycleOrder/detail', false, 'get', { token, id })
2278
2278
  },
2279
2279
  recycleOrderFahuo: data => {
2280
- return request('/recycleOrder/fahuo', true, 'post', data)
2280
+ return request(COMMON_BASE_URL + subDomain + '/recycleOrder/fahuo', false, 'post', data)
2281
2281
  },
2282
2282
  recycleOrderClose: (token, id) => {
2283
- return request('/recycleOrder/close', true, 'post', { token, id })
2283
+ return request(COMMON_BASE_URL + subDomain + '/recycleOrder/close', false, 'post', { token, id })
2284
2284
  },
2285
2285
  recycleOrderDelete: (token, id) => {
2286
- return request('/recycleOrder/del', true, 'post', { token, id })
2286
+ return request(COMMON_BASE_URL + subDomain + '/recycleOrder/del', false, 'post', { token, id })
2287
2287
  },
2288
2288
  // 会员卡
2289
2289
  cardList: data => {
@@ -2493,10 +2493,10 @@ module.exports = {
2493
2493
  return request('/tempData/get', true, 'get', { key })
2494
2494
  },
2495
2495
  tempDataSetV2: (key, content) => {
2496
- return request(COMMON_BASE_URL + merchantId + '/tempData/set', true, 'post', { key, content })
2496
+ return request(COMMON_BASE_URL + merchantId + '/tempData/set', false, 'post', { key, content })
2497
2497
  },
2498
2498
  tempDataGetV2: key => {
2499
- return request(COMMON_BASE_URL + merchantId + '/tempData/get', true, 'get', { key })
2499
+ return request(COMMON_BASE_URL + merchantId + '/tempData/get', false, 'get', { key })
2500
2500
  },
2501
2501
  commonDatetime: () => {
2502
2502
  return request('/common/datetime', true, 'get')
@@ -2690,10 +2690,10 @@ module.exports = {
2690
2690
  return request(COMMON_BASE_URL + subDomain + '/contact/list', false, 'get')
2691
2691
  },
2692
2692
  distributedLock: (key, seconds) => {
2693
- return request('/distributedLock/lock', true, 'get', { key, seconds })
2693
+ return request(COMMON_BASE_URL + subDomain + '/distributedLock/lock', false, 'get', { key, seconds })
2694
2694
  },
2695
2695
  distributedLockRelease: (key) => {
2696
- return request('/distributedLock/lock', true, 'get', { key })
2696
+ return request(COMMON_BASE_URL + subDomain + '/distributedLock/lock', false, 'get', { key })
2697
2697
  },
2698
2698
  communitySetting: () => {
2699
2699
  return request(COMMON_BASE_URL + subDomain + '/community/setting', false, 'get')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "26.9.17",
3
+ "version": "26.9.20",
4
4
  "description": "接口升级",
5
5
  "main": "index.js",
6
6
  "scripts": {