mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	@@ -223,12 +223,12 @@ public class SysLoginService {
 | 
				
			|||||||
        if (!TenantHelper.isEnable()) {
 | 
					        if (!TenantHelper.isEnable()) {
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (TenantConstants.DEFAULT_TENANT_ID.equals(tenantId)) {
 | 
					 | 
				
			||||||
            return;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        if (StringUtils.isBlank(tenantId)) {
 | 
					        if (StringUtils.isBlank(tenantId)) {
 | 
				
			||||||
            throw new TenantException("tenant.number.not.blank");
 | 
					            throw new TenantException("tenant.number.not.blank");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        if (TenantConstants.DEFAULT_TENANT_ID.equals(tenantId)) {
 | 
				
			||||||
 | 
					            return;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        SysTenantVo tenant = tenantService.queryByTenantId(tenantId);
 | 
					        SysTenantVo tenant = tenantService.queryByTenantId(tenantId);
 | 
				
			||||||
        if (ObjectUtil.isNull(tenant)) {
 | 
					        if (ObjectUtil.isNull(tenant)) {
 | 
				
			||||||
            log.info("登录租户:{} 不存在.", tenantId);
 | 
					            log.info("登录租户:{} 不存在.", tenantId);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user