Procházet zdrojové kódy

fix bug

release_toaliyun_real
xiaohanzi před 5 roky
rodič
revize
9878b6cb71
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. +4
    -4
      mallinkCApi/src/main/java/com/iformall/controller/BaseController.java

+ 4
- 4
mallinkCApi/src/main/java/com/iformall/controller/BaseController.java Zobrazit soubor

@@ -96,15 +96,15 @@ public class BaseController {
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
String tenantId = (String) request.getAttribute(Constant.TENANT_ID);
String parentTenantId = (String) request.getAttribute(Constant.PARENT_TENANT_ID);
TenantEntity tenantEntity = new TenantEntity() {{
setTenantId(tenantId);
setParentTenantId(parentTenantId);
}};
TenantEntity tenantEntity = new TenantEntity() ;
tenantEntity.setTenantId(tenantId);
tenantEntity.setParentTenantId(parentTenantId);
return tenantEntity;
}

public String getFinalTenantId() {
TenantEntity tenantEntity = getTenantInfo();
String tenantId = tenantEntity.getTenantId();
return tenantEntity.getFinalTenantId();
}


Načítá se…
Zrušit
Uložit