apifm-webapi 26.1.7 → 26.1.13

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 +5 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -643,7 +643,7 @@ module.exports = {
643
643
  return request('/user/friend/detail', true, 'get', { token, uid })
644
644
  },
645
645
  videoDetail: (videoId) => {
646
- return request('/media/video/detail', true, 'get', {
646
+ return request(COMMON_BASE_URL + subDomain + '/media/video/detail', false, 'get', {
647
647
  videoId
648
648
  })
649
649
  },
@@ -1091,10 +1091,10 @@ module.exports = {
1091
1091
  return request('/order/refundApply/setBackLogistics', true, 'post', data)
1092
1092
  },
1093
1093
  cmsCategories: () => {
1094
- return request('/cms/category/list', true, 'get', {})
1094
+ return request(COMMON_BASE_URL + subDomain + '/cms/category/list', false, 'get', {})
1095
1095
  },
1096
1096
  cmsCategoryDetail: (id) => {
1097
- return request('/cms/category/detail', true, 'get', { id })
1097
+ return request(COMMON_BASE_URL + subDomain + '/cms/category/detail', false, 'get', { id })
1098
1098
  },
1099
1099
  cmsArticles: (data) => {
1100
1100
  return request('/cms/news/list', true, 'post', data)
@@ -1295,7 +1295,7 @@ module.exports = {
1295
1295
  return request('/uniqueId/get', true, 'get', { type })
1296
1296
  },
1297
1297
  sequence: (type = '', defValue = '') => {
1298
- return request('/uniqueId/sequence', true, 'get', { type, defValue })
1298
+ return request(COMMON_BASE_URL + subDomain + '/uniqueId/sequence', false, 'get', { type, defValue })
1299
1299
  },
1300
1300
  queryBarcode: (barcode = '') => {
1301
1301
  return request('/barcode/info', true, 'get', { barcode })
@@ -1705,7 +1705,7 @@ module.exports = {
1705
1705
  return request(COMMON_BASE_URL + subDomain + '/user/q/qrcode', false, 'post', { content })
1706
1706
  },
1707
1707
  siteStatistics: () => {
1708
- return request('/site/statistics', true, 'get')
1708
+ return request(COMMON_BASE_URL + subDomain + '/site/statistics', false, 'get')
1709
1709
  },
1710
1710
  authorization: (data) => {
1711
1711
  return request('/user/wxmp/auth', true, 'post', data)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "26.1.7",
3
+ "version": "26.1.13",
4
4
  "description": "接口升级",
5
5
  "main": "index.js",
6
6
  "scripts": {