初始化

This commit is contained in:
qsh
2023-02-15 09:17:05 +08:00
parent eebc6c8e4c
commit a7606b1f20
301 changed files with 23347 additions and 2 deletions

18
src/api/monitor/online.js Normal file
View File

@@ -0,0 +1,18 @@
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'
})
}