ludc
2023-10-12 0cab15970c0203bbcc1a72e9ec19469d298380ab
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()) {