@@ -59,9 +59,9 @@ public class AuthFilter {
// }
});
}).setError(e -> {
- if (e instanceof NotLoginException) {
+ /* if (e instanceof NotLoginException) {
return SaResult.error(e.getMessage()).setCode(HttpStatus.UNAUTHORIZED);
- }
+ }*/
return SaResult.error("认证失败,无法访问系统资源").setCode(HttpStatus.UNAUTHORIZED);
}