mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-07-08 13:46:10 +00:00
update 增加对客户端ID与Token不匹配的错误信息处理
This commit is contained in:
+1
@@ -52,6 +52,7 @@ public class SaTokenExceptionHandler {
|
|||||||
case NotLoginException.KICK_OUT -> "账号已被管理员强制下线";
|
case NotLoginException.KICK_OUT -> "账号已被管理员强制下线";
|
||||||
case NotLoginException.TOKEN_FREEZE -> "账号已被冻结,请联系管理员处理";
|
case NotLoginException.TOKEN_FREEZE -> "账号已被冻结,请联系管理员处理";
|
||||||
case NotLoginException.NO_PREFIX -> "登录格式异常,请重新登录";
|
case NotLoginException.NO_PREFIX -> "登录格式异常,请重新登录";
|
||||||
|
case "-100" -> "客户端ID与Token不匹配";
|
||||||
default -> "登录状态异常,请重新登录";
|
default -> "登录状态异常,请重新登录";
|
||||||
};
|
};
|
||||||
log.error("请求地址'{}',{}", requestURI, msg);
|
log.error("请求地址'{}',{}", requestURI, msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user