apifm-webapi 26.8.4 → 26.8.9

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 +16 -16
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -248,10 +248,10 @@ module.exports = {
248
248
  return request('/pay/wxfws/wxapp', true, 'post', data)
249
249
  },
250
250
  ttpay: (data) => {
251
- return request('/pay/tt/microapp', true, 'post', data)
251
+ return request(COMMON_BASE_URL + subDomain + '/pay/tt/microapp', false, 'post', data)
252
252
  },
253
253
  ttEcpay: (data) => {
254
- return request('/pay/tt/ecpay', true, 'post', data)
254
+ return request(COMMON_BASE_URL + subDomain + '/pay/tt/ecpay', false, 'post', data)
255
255
  },
256
256
  payQuery: (token, outTradeId) => {
257
257
  return request('/pay/query', true, 'get', { token, outTradeId })
@@ -281,22 +281,22 @@ module.exports = {
281
281
  return request('/pay/alipay/semiAutomatic/payurl', true, 'post', data)
282
282
  },
283
283
  alipayMP: (data) => {
284
- return request('/pay/alipay/gate/mp', true, 'post', data)
284
+ return request(COMMON_BASE_URL + subDomain + '/pay/alipay/gate/mp', false, 'post', data)
285
285
  },
286
286
  alipayAPP: (data) => {
287
- return request('/pay/alipay/gate/app', true, 'post', data)
287
+ return request(COMMON_BASE_URL + subDomain + '/pay/alipay/gate/app', false, 'post', data)
288
288
  },
289
289
  alipayQrcode: (data) => {
290
- return request('/pay/alipay/gate/qrcode', true, 'post', data)
290
+ return request(COMMON_BASE_URL + subDomain + '/pay/alipay/gate/qrcode', false, 'post', data)
291
291
  },
292
292
  alipayQrcode2: (data) => {
293
- return request('/pay/alipay/gate/paymentCode', true, 'post', data)
293
+ return request(COMMON_BASE_URL + subDomain + '/pay/alipay/gate/paymentCode', false, 'post', data)
294
294
  },
295
295
  alipayH5: (data) => {
296
- return request('/pay/alipay/gate/h5', true, 'post', data)
296
+ return request(COMMON_BASE_URL + subDomain + '/pay/alipay/gate/h5', false, 'post', data)
297
297
  },
298
298
  alipayPC: (data) => {
299
- return request('/pay/alipay/gate/pc', true, 'post', data)
299
+ return request(COMMON_BASE_URL + subDomain + '/pay/alipay/gate/pc', false, 'post', data)
300
300
  },
301
301
  kasipayH5: (data) => {
302
302
  return request('/pay/kasipay/h5', true, 'post', data)
@@ -1195,13 +1195,13 @@ module.exports = {
1195
1195
  return request('/newsSign/check', true, 'get', { token, newsId })
1196
1196
  },
1197
1197
  invoiceList: (data) => {
1198
- return request('/invoice/list', true, 'post', data)
1198
+ return request(COMMON_BASE_URL + subDomain + '/invoice/list', false, 'post', data)
1199
1199
  },
1200
1200
  invoiceApply: (data) => {
1201
- return request('/invoice/apply', true, 'post', data)
1201
+ return request(COMMON_BASE_URL + subDomain + '/invoice/apply', false, 'post', data)
1202
1202
  },
1203
1203
  invoiceDetail: (token, id) => {
1204
- return request('/invoice/info', true, 'get', { token, id })
1204
+ return request(COMMON_BASE_URL + subDomain + '/invoice/info', false, 'get', { token, id })
1205
1205
  },
1206
1206
  depositList: (data) => {
1207
1207
  return request('/deposit/list', true, 'post', data)
@@ -2437,13 +2437,13 @@ module.exports = {
2437
2437
  return request('/bottleMsg/salvage', true, 'get', { token })
2438
2438
  },
2439
2439
  userInvoiceInfo: token => {
2440
- return request('/userInvoice/info', true, 'get', { token })
2440
+ return request(COMMON_BASE_URL + subDomain + '/userInvoice/info', false, 'get', { token })
2441
2441
  },
2442
2442
  userInvoiceUnbind: token => {
2443
- return request('/userInvoice/unbind', true, 'post', { token })
2443
+ return request(COMMON_BASE_URL + subDomain + '/userInvoice/unbind', false, 'post', { token })
2444
2444
  },
2445
2445
  userInvoiceBind: data => {
2446
- return request('/userInvoice/bind', true, 'post', data)
2446
+ return request(COMMON_BASE_URL + subDomain + '/userInvoice/bind', false, 'post', data)
2447
2447
  },
2448
2448
  tempDataSet: (key, content) => {
2449
2449
  return request('/tempData/set', true, 'post', { key, content })
@@ -2760,10 +2760,10 @@ module.exports = {
2760
2760
  return request('/shopIot/execute', true, 'post', data)
2761
2761
  },
2762
2762
  wxTemplateNumberList: (token) => {
2763
- return request('/wxTemplateNumber/list', true, 'get', { token })
2763
+ return request(COMMON_BASE_URL + subDomain + '/wxTemplateNumber/list', false, 'get', { token })
2764
2764
  },
2765
2765
  wxTemplateNumberSubscribe: (data) => {
2766
- return request('/wxTemplateNumber/subscribe', true, 'post', data)
2766
+ return request(COMMON_BASE_URL + subDomain + '/wxTemplateNumber/subscribe', false, 'post', data)
2767
2767
  },
2768
2768
  errandsTaskPublish: (data) => {
2769
2769
  return request('/errandsTask/publish', true, 'post', data)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "26.8.4",
3
+ "version": "26.8.9",
4
4
  "description": "接口升级",
5
5
  "main": "index.js",
6
6
  "scripts": {