|
|
@ -104,7 +104,7 @@ public class JeecgBootExceptionHandler {
|
|
|
|
@ExceptionHandler({UnauthorizedException.class, AuthorizationException.class})
|
|
|
|
@ExceptionHandler({UnauthorizedException.class, AuthorizationException.class})
|
|
|
|
public Result<?> handleAuthorizationException(AuthorizationException e){
|
|
|
|
public Result<?> handleAuthorizationException(AuthorizationException e){
|
|
|
|
log.error(e.getMessage(), e);
|
|
|
|
log.error(e.getMessage(), e);
|
|
|
|
return Result.noauth("没有权限,请管理员授权后,刷新用户缓存或退出重新登录!");
|
|
|
|
return Result.noauth("没有权限,请联系管理员授权,后刷新缓存!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ExceptionHandler(Exception.class)
|
|
|
|
@ExceptionHandler(Exception.class)
|
|
|
|