apifm-webapi 26.8.18 → 26.8.22
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 +16 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2358,22 +2358,22 @@ module.exports = {
|
|
|
2358
2358
|
},
|
|
2359
2359
|
// 橱窗
|
|
2360
2360
|
chuchuanSettingInfo: uid => {
|
|
2361
|
-
return request('/chuchuan/info',
|
|
2361
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuan/info', false, 'get', { uid })
|
|
2362
2362
|
},
|
|
2363
2363
|
chuchuanSettingModify: data => {
|
|
2364
|
-
return request('/chuchuan/modify',
|
|
2364
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuan/modify', false, 'post', data)
|
|
2365
2365
|
},
|
|
2366
2366
|
chuchuanGoodsList: data => {
|
|
2367
|
-
return request('/chuchuanGoods/list',
|
|
2367
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/list', false, 'post', data)
|
|
2368
2368
|
},
|
|
2369
2369
|
chuchuanGoodsAdd: data => {
|
|
2370
|
-
return request('/chuchuanGoods/add',
|
|
2370
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/add', false, 'post', data)
|
|
2371
2371
|
},
|
|
2372
2372
|
chuchuanGoodsRemove: (token, goodsId) => {
|
|
2373
|
-
return request('/chuchuanGoods/remove',
|
|
2373
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/remove', false, 'post', { token, goodsId })
|
|
2374
2374
|
},
|
|
2375
2375
|
chuchuanGoodsCheck: (token, goodsId) => {
|
|
2376
|
-
return request('/chuchuanGoods/check',
|
|
2376
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/check', false, 'get', { token, goodsId })
|
|
2377
2377
|
},
|
|
2378
2378
|
// 寄存
|
|
2379
2379
|
jicunGoodsList: data => {
|
|
@@ -2661,16 +2661,16 @@ module.exports = {
|
|
|
2661
2661
|
return request('/distributedLock/lock', true, 'get', { key })
|
|
2662
2662
|
},
|
|
2663
2663
|
communitySetting: () => {
|
|
2664
|
-
return request('/community/setting',
|
|
2664
|
+
return request(COMMON_BASE_URL + subDomain + '/community/setting', false, 'get')
|
|
2665
2665
|
},
|
|
2666
2666
|
communityLeaderApply: data => {
|
|
2667
|
-
return request('/communityLeader/apply',
|
|
2667
|
+
return request(COMMON_BASE_URL + subDomain + '/communityLeader/apply', false, 'post', data)
|
|
2668
2668
|
},
|
|
2669
2669
|
communityLeaderApplyInfo: token => {
|
|
2670
|
-
return request('/communityLeader/apply/info',
|
|
2670
|
+
return request(COMMON_BASE_URL + subDomain + '/communityLeader/apply/info', false, 'get', { token })
|
|
2671
2671
|
},
|
|
2672
2672
|
communityLeaderBuy: token => {
|
|
2673
|
-
return request('/communityLeader/buy',
|
|
2673
|
+
return request(COMMON_BASE_URL + subDomain + '/communityLeader/buy', false, 'post', { token })
|
|
2674
2674
|
},
|
|
2675
2675
|
communityOrderFahuo: data => {
|
|
2676
2676
|
return request('/communityOrder/fahuo', true, 'post', data)
|
|
@@ -3188,4 +3188,10 @@ module.exports = {
|
|
|
3188
3188
|
dabGetPrice: (data) => {
|
|
3189
3189
|
return request(COMMON_BASE_URL + subDomain + '/dab/getPrice', false, 'get', data)
|
|
3190
3190
|
},
|
|
3191
|
+
yaduoBasicLogin: (data) => {
|
|
3192
|
+
return request(COMMON_BASE_URL + subDomain + '/yaduo/basicLogin', false, 'get', data)
|
|
3193
|
+
},
|
|
3194
|
+
yaduoUnbind: (data) => {
|
|
3195
|
+
return request(COMMON_BASE_URL + subDomain + '/yaduo/unbind', false, 'post', data)
|
|
3196
|
+
},
|
|
3191
3197
|
}
|