提交 | 用户 | 时间 | ||
fd2207 | 1 | import request from '@/utils/request' |
懒 | 2 | |
3 | // 查询在线用户列表 | |
4 | export function list(query) { | |
5 | return request({ | |
6 | url: '/monitor/online/list', | |
7 | method: 'get', | |
8 | params: query | |
9 | }) | |
10 | } | |
11 | ||
12 | // 强退用户 | |
13 | export function forceLogout(tokenId) { | |
14 | return request({ | |
15 | url: '/monitor/online/' + tokenId, | |
16 | method: 'delete' | |
17 | }) | |
18 | } |