bug fix
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
import request from '@/utils/request'
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 查询在线用户列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/monitor/online/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
url: "/monitor/online/list",
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
// 强退用户
|
||||
export function forceLogout(username, deviceSn) {
|
||||
return request({
|
||||
url: '/monitor/online/' + username + '/' + deviceSn,
|
||||
method: 'delete'
|
||||
})
|
||||
url: "/monitor/online/" + username + "/" + deviceSn,
|
||||
method: "delete",
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user