apifm-webapi 26.9.15 → 26.9.17
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 +7 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1266,13 +1266,13 @@ module.exports = {
|
|
|
1266
1266
|
return request(COMMON_BASE_URL + subDomain + '/deposit/back/apply', false, 'post', { token, id })
|
|
1267
1267
|
},
|
|
1268
1268
|
shopAreaCities: () => {
|
|
1269
|
-
return request('/shopArea/cities',
|
|
1269
|
+
return request(COMMON_BASE_URL + subDomain + '/shopArea/cities', false, 'get')
|
|
1270
1270
|
},
|
|
1271
1271
|
shopAreaList: (data) => {
|
|
1272
|
-
return request('/shopArea/list',
|
|
1272
|
+
return request(COMMON_BASE_URL + subDomain + '/shopArea/list', false, 'post', data)
|
|
1273
1273
|
},
|
|
1274
1274
|
shopAreaDetail: (id) => {
|
|
1275
|
-
return request('/shopArea/detail',
|
|
1275
|
+
return request(COMMON_BASE_URL + subDomain + '/shopArea/detail', false, 'get', { id })
|
|
1276
1276
|
},
|
|
1277
1277
|
fetchShopsCities: () => {
|
|
1278
1278
|
return request('/shop/subshop/cities', true, 'get')
|
|
@@ -1989,10 +1989,10 @@ module.exports = {
|
|
|
1989
1989
|
return request(COMMON_BASE_URL + subDomain + '/goods/visitLog/clear', false, 'post', { token })
|
|
1990
1990
|
},
|
|
1991
1991
|
channelDataPush: (key, content) => {
|
|
1992
|
-
return request('/channelData/push',
|
|
1992
|
+
return request(COMMON_BASE_URL + subDomain + '/channelData/push', false, 'post', { key, content })
|
|
1993
1993
|
},
|
|
1994
1994
|
channelDataPull: (key) => {
|
|
1995
|
-
return request('/channelData/pull',
|
|
1995
|
+
return request(COMMON_BASE_URL + subDomain + '/channelData/pull', false, 'get', { key })
|
|
1996
1996
|
},
|
|
1997
1997
|
bindPartner: (token, partnerId) => {
|
|
1998
1998
|
return request(COMMON_BASE_URL + subDomain + '/user/bindPartner', false, 'post', { token, uid: partnerId })
|
|
@@ -2756,10 +2756,10 @@ module.exports = {
|
|
|
2756
2756
|
return request('/order/serving', true, 'post', { token, orderId })
|
|
2757
2757
|
},
|
|
2758
2758
|
shansongCourierInfo: data => {
|
|
2759
|
-
return request('/order/shansongCourierInfo',
|
|
2759
|
+
return request(COMMON_BASE_URL + subDomain + '/order/shansongCourierInfo', false, 'get', data)
|
|
2760
2760
|
},
|
|
2761
2761
|
shansongOrderInfo: data => {
|
|
2762
|
-
return request('/order/shansongOrderInfo',
|
|
2762
|
+
return request(COMMON_BASE_URL + subDomain + '/order/shansongOrderInfo', false, 'get', data)
|
|
2763
2763
|
},
|
|
2764
2764
|
userAttendantOrderStatistics: data => {
|
|
2765
2765
|
return request('/order/statisticsJishi', true, 'get', data)
|