import request from '@/utils/request'

// 查询在线用户列表
export function list(query) {
  return request({
    url: 'horizon/system/monitor/online/list',
    method: 'get',
    params: query
  })
}

// 强退用户
export function forceLogout(tokenId) {
  return request({
    url: 'horizon/system/monitor/online/forceLogout',
    method: 'put',
    data:{
      ids:tokenId
    }
  })
}
