apifm-webapi 26.8.18 → 26.8.23
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 +23 -11
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1995,6 +1995,12 @@ module.exports = {
|
|
|
1995
1995
|
partnerWithdrawalLogRefuse: data => {
|
|
1996
1996
|
return request(COMMON_BASE_URL + subDomain + '/partner/withdrawalLog/refuse', false, 'post', data)
|
|
1997
1997
|
},
|
|
1998
|
+
liveRoomOnlineUsers: (token, roomId) => {
|
|
1999
|
+
return request('/websocket/rest/liveRoom/onlines', false, 'get', { token, roomId })
|
|
2000
|
+
},
|
|
2001
|
+
liveRoomKickOutUser: (token, roomId, uid) => {
|
|
2002
|
+
return request('/websocket/rest/liveRoom/kickOut', false, 'post', { token, roomId, uid })
|
|
2003
|
+
},
|
|
1998
2004
|
wxaMpLiveRooms: () => {
|
|
1999
2005
|
return request(COMMON_BASE_URL + subDomain + '/wx/live/rooms', false, 'get')
|
|
2000
2006
|
},
|
|
@@ -2358,22 +2364,22 @@ module.exports = {
|
|
|
2358
2364
|
},
|
|
2359
2365
|
// 橱窗
|
|
2360
2366
|
chuchuanSettingInfo: uid => {
|
|
2361
|
-
return request('/chuchuan/info',
|
|
2367
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuan/info', false, 'get', { uid })
|
|
2362
2368
|
},
|
|
2363
2369
|
chuchuanSettingModify: data => {
|
|
2364
|
-
return request('/chuchuan/modify',
|
|
2370
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuan/modify', false, 'post', data)
|
|
2365
2371
|
},
|
|
2366
2372
|
chuchuanGoodsList: data => {
|
|
2367
|
-
return request('/chuchuanGoods/list',
|
|
2373
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/list', false, 'post', data)
|
|
2368
2374
|
},
|
|
2369
2375
|
chuchuanGoodsAdd: data => {
|
|
2370
|
-
return request('/chuchuanGoods/add',
|
|
2376
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/add', false, 'post', data)
|
|
2371
2377
|
},
|
|
2372
2378
|
chuchuanGoodsRemove: (token, goodsId) => {
|
|
2373
|
-
return request('/chuchuanGoods/remove',
|
|
2379
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/remove', false, 'post', { token, goodsId })
|
|
2374
2380
|
},
|
|
2375
2381
|
chuchuanGoodsCheck: (token, goodsId) => {
|
|
2376
|
-
return request('/chuchuanGoods/check',
|
|
2382
|
+
return request(COMMON_BASE_URL + subDomain + '/chuchuanGoods/check', false, 'get', { token, goodsId })
|
|
2377
2383
|
},
|
|
2378
2384
|
// 寄存
|
|
2379
2385
|
jicunGoodsList: data => {
|
|
@@ -2652,7 +2658,7 @@ module.exports = {
|
|
|
2652
2658
|
return request('/shopCategory/info', true, 'get', { id })
|
|
2653
2659
|
},
|
|
2654
2660
|
contactList: () => {
|
|
2655
|
-
return request('/contact/list',
|
|
2661
|
+
return request(COMMON_BASE_URL + subDomain + '/contact/list', false, 'get')
|
|
2656
2662
|
},
|
|
2657
2663
|
distributedLock: (key, seconds) => {
|
|
2658
2664
|
return request('/distributedLock/lock', true, 'get', { key, seconds })
|
|
@@ -2661,16 +2667,16 @@ module.exports = {
|
|
|
2661
2667
|
return request('/distributedLock/lock', true, 'get', { key })
|
|
2662
2668
|
},
|
|
2663
2669
|
communitySetting: () => {
|
|
2664
|
-
return request('/community/setting',
|
|
2670
|
+
return request(COMMON_BASE_URL + subDomain + '/community/setting', false, 'get')
|
|
2665
2671
|
},
|
|
2666
2672
|
communityLeaderApply: data => {
|
|
2667
|
-
return request('/communityLeader/apply',
|
|
2673
|
+
return request(COMMON_BASE_URL + subDomain + '/communityLeader/apply', false, 'post', data)
|
|
2668
2674
|
},
|
|
2669
2675
|
communityLeaderApplyInfo: token => {
|
|
2670
|
-
return request('/communityLeader/apply/info',
|
|
2676
|
+
return request(COMMON_BASE_URL + subDomain + '/communityLeader/apply/info', false, 'get', { token })
|
|
2671
2677
|
},
|
|
2672
2678
|
communityLeaderBuy: token => {
|
|
2673
|
-
return request('/communityLeader/buy',
|
|
2679
|
+
return request(COMMON_BASE_URL + subDomain + '/communityLeader/buy', false, 'post', { token })
|
|
2674
2680
|
},
|
|
2675
2681
|
communityOrderFahuo: data => {
|
|
2676
2682
|
return request('/communityOrder/fahuo', true, 'post', data)
|
|
@@ -3188,4 +3194,10 @@ module.exports = {
|
|
|
3188
3194
|
dabGetPrice: (data) => {
|
|
3189
3195
|
return request(COMMON_BASE_URL + subDomain + '/dab/getPrice', false, 'get', data)
|
|
3190
3196
|
},
|
|
3197
|
+
yaduoBasicLogin: (data) => {
|
|
3198
|
+
return request(COMMON_BASE_URL + subDomain + '/yaduo/basicLogin', false, 'get', data)
|
|
3199
|
+
},
|
|
3200
|
+
yaduoUnbind: (data) => {
|
|
3201
|
+
return request(COMMON_BASE_URL + subDomain + '/yaduo/unbind', false, 'post', data)
|
|
3202
|
+
},
|
|
3191
3203
|
}
|