mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 07:33:42 +08:00
update 恢复前端异常返回内容
This commit is contained in:
parent
00a1c1037c
commit
1cb5d841d9
@ -56,7 +56,7 @@ public class SaTokenExceptionHandler {
|
||||
default -> "登录状态异常,请重新登录";
|
||||
};
|
||||
log.error("请求地址'{}',{}", requestURI, msg);
|
||||
return R.fail(HttpStatus.HTTP_UNAUTHORIZED, msg);
|
||||
return R.fail(HttpStatus.HTTP_UNAUTHORIZED, "认证失败,无法访问系统资源");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user