apifm-webapi 26.1.10 → 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.
- package/index.js +3 -3
- 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',
|
|
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',
|
|
1094
|
+
return request(COMMON_BASE_URL + subDomain + '/cms/category/list', false, 'get', {})
|
|
1095
1095
|
},
|
|
1096
1096
|
cmsCategoryDetail: (id) => {
|
|
1097
|
-
return request('/cms/category/detail',
|
|
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)
|