mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-06-27 16:14:31 +00:00
update 恢复前端异常返回内容
This commit is contained in:
+1
-1
@@ -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, "认证失败,无法访问系统资源");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user