|
@@ -201,7 +201,7 @@ public class CheckViewBizAuthAspect {
|
|
|
if(checkNumAuth.getCode() == ServerCode.SUCCESS.code()){
|
|
|
data = checkNumAuth.getData();
|
|
|
}
|
|
|
- if(Objects.nonNull(data) || !data.isViewAuth()){
|
|
|
+ if(Objects.isNull(data) || !data.isViewAuth()){
|
|
|
throw new BusinessException(ErrorCode.AUTH_FAIL.code(), "无权访问");
|
|
|
}
|
|
|
}
|