|
@@ -127,6 +127,7 @@ public class AuthInfoServiceImpl implements AuthInfoService {
|
|
if (Objects.nonNull(code)) {
|
|
if (Objects.nonNull(code)) {
|
|
AuthOrgInfoDto authOrgInfoDto = commonCacheService.authInfoCache(code);
|
|
AuthOrgInfoDto authOrgInfoDto = commonCacheService.authInfoCache(code);
|
|
if (Objects.isNull(authOrgInfoDto) || (Objects.nonNull(authOrgInfoDto) && authOrgInfoDto.getControl().hasExpired())) {
|
|
if (Objects.isNull(authOrgInfoDto) || (Objects.nonNull(authOrgInfoDto) && authOrgInfoDto.getControl().hasExpired())) {
|
|
|
|
+ //TODO因授权文件失败暂时开发去掉
|
|
throw ExceptionResultEnum.AUTH_INFO_ERROR.exception();
|
|
throw ExceptionResultEnum.AUTH_INFO_ERROR.exception();
|
|
}
|
|
}
|
|
}
|
|
}
|