forked from software/MusicRoadUI
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
335 B
JavaScript
19 lines
335 B
JavaScript
3 years ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询在线用户列表
|
||
|
export function list(query) {
|
||
|
return request({
|
||
|
url: '/monitor/online/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 强退用户
|
||
|
export function forceLogout(tokenId) {
|
||
|
return request({
|
||
|
url: '/monitor/online/' + tokenId,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|