田源
2023-10-16 583330bbbcb9c94b9aed84c8c43e4a78bc4a3478
Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/utils/TokenUtil.java
@@ -87,8 +87,6 @@
   public final static String REFRESH_TOKEN_KEY = "refresh_token";
   private static BladeTenantProperties tenantProperties;
   @Autowired
   private static NacosConfigCache nacosConfigCache;
   /**
    * 获取租户配置
@@ -172,7 +170,7 @@
      if (tenant == null || tenant.getId() == null) {
         throw new UserDeniedAuthorizationException(TokenUtil.USER_HAS_NO_TENANT);
      }
      if (StringUtil.equalsIgnoreCase(tenant.getTenantId(), nacosConfigCache.getAdminUserInfo().getTenantId())) {
      if (StringUtil.equalsIgnoreCase(tenant.getTenantId(), NacosConfigCache.getAdminUserInfo().getTenantId())) {
         return false;
      }
      if (getTenantProperties().getLicense()) {