apifm-webapi 26.7.26 → 26.8.2

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 +10 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -98,7 +98,7 @@ module.exports = {
98
98
  return request(COMMON_BASE_URL + subDomain + '/common/mobile-segment/next', false, 'post', data)
99
99
  },
100
100
  forexRate: (fromCode, toCode) => {
101
- return request('/forex/rate', true, 'get', { fromCode, toCode })
101
+ return request(COMMON_BASE_URL + subDomain + '/forex/rate', false, 'get', { fromCode, toCode })
102
102
  },
103
103
  queryConfigValue: (key) => {
104
104
  return request(COMMON_BASE_URL + subDomain + '/config/value', true, 'get', { key })
@@ -275,7 +275,7 @@ module.exports = {
275
275
  return request('/pay/airwallex/wxapp', true, 'post', data)
276
276
  },
277
277
  paypalCheckout: (data) => {
278
- return request('/pay/paypal/checkout', true, 'post', data)
278
+ return request(COMMON_BASE_URL + subDomain + '/pay/paypal/checkout', false, 'post', data)
279
279
  },
280
280
  alipay: (data) => {
281
281
  return request('/pay/alipay/semiAutomatic/payurl', true, 'post', data)
@@ -1327,16 +1327,16 @@ module.exports = {
1327
1327
  return request('/barcode/info', true, 'get', { barcode })
1328
1328
  },
1329
1329
  luckyInfo: (id) => {
1330
- return request('/luckyInfo/info', true, 'get', { id })
1330
+ return request(COMMON_BASE_URL + subDomain + '/luckyInfo/info/v2', false, 'get', { id })
1331
1331
  },
1332
1332
  luckyInfoJoin: (id, token) => {
1333
- return request('/luckyInfo/join', true, 'post', { id, token })
1333
+ return request(COMMON_BASE_URL + subDomain + '/luckyInfo/join', false, 'post', { id, token })
1334
1334
  },
1335
1335
  luckyInfoJoinMy: (id, token) => {
1336
- return request('/luckyInfo/join/my', true, 'get', { id, token })
1336
+ return request(COMMON_BASE_URL + subDomain + '/luckyInfo/join/my', false, 'get', { id, token })
1337
1337
  },
1338
1338
  luckyInfoJoinLogs: (data) => {
1339
- return request('/luckyInfo/join/logs', true, 'post', data)
1339
+ return request(COMMON_BASE_URL + subDomain + '/luckyInfo/join/logs', false, 'post', data)
1340
1340
  },
1341
1341
  jsonList: (data) => {
1342
1342
  return request('/json/list', true, 'post', data)
@@ -2459,7 +2459,7 @@ module.exports = {
2459
2459
  return request(COMMON_BASE_URL + subDomain + '/user/aliapp/authorize', false, 'post', data)
2460
2460
  },
2461
2461
  aliappWebUserAuthorize: data => {
2462
- return request('/user/aliappweb/authorize', true, 'post', data)
2462
+ return request(COMMON_BASE_URL + subDomain + '/user/aliappweb/authorize', false, 'post', data)
2463
2463
  },
2464
2464
  aliappQrcode: content => {
2465
2465
  return request(COMMON_BASE_URL + subDomain + '/user/aliapp/qrcode', false, 'post', { content })
@@ -2825,6 +2825,9 @@ module.exports = {
2825
2825
  blindBoxFriendsBalance: (token) => {
2826
2826
  return request(COMMON_BASE_URL + subDomain + '/blindBoxFriends/balance', false, 'get', { token })
2827
2827
  },
2828
+ blindBoxFriendsSetting: () => {
2829
+ return request(COMMON_BASE_URL + subDomain + '/blindBoxFriends/setting', false, 'get')
2830
+ },
2828
2831
  cpactivityInfoDetail: (id) => {
2829
2832
  return request(COMMON_BASE_URL + subDomain + '/cpactivityInfo/detail', false, 'get', { id })
2830
2833
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "26.7.26",
3
+ "version": "26.8.2",
4
4
  "description": "接口升级",
5
5
  "main": "index.js",
6
6
  "scripts": {