【新增】 新增中心服务器当用户登录的时候,使用管理员密码进行强制登出

This commit is contained in:
dlaren
2025-08-12 23:44:01 +08:00
parent 793986606d
commit f7819fb294
2 changed files with 75 additions and 1 deletions

View File

@@ -36,6 +36,11 @@ export const loginOut = () => {
return request.post({ url: '/system/auth/logout' })
}
// 强制登出
export const refreshLogout = (data: any) => {
return request.post({ url: '/system/auth/refreshLogout', data })
}
// 获取用户权限信息
export const getInfo = () => {
return request.get({ url: '/system/auth/get-permission-info' })