apifm-webapi 26.8.22 → 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.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. 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
  },
@@ -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', true, 'get')
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 })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apifm-webapi",
3
- "version": "26.8.22",
3
+ "version": "26.8.23",
4
4
  "description": "接口升级",
5
5
  "main": "index.js",
6
6
  "scripts": {