mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修改强退在线设备接口
This commit is contained in:
@ -20,6 +20,17 @@ export function fetchForceLogout(tokenId: string) {
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 强退当前在线设备
|
||||
*
|
||||
* @param tokenId - 令牌ID
|
||||
*/
|
||||
export function fetchKickOutCurrentDevice(tokenId: string) {
|
||||
return request<boolean>({
|
||||
url: `/monitor/online/myself/${tokenId}`,
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
/** 获取在线设备列表 */
|
||||
export function fetchGetOnlineDeviceList(params?: Api.Monitor.OnlineUserSearchParams) {
|
||||
|
Reference in New Issue
Block a user