租户改为从header获取
This commit is contained in:
parent
3029e6724e
commit
c4092229f6
|
|
@ -206,7 +206,7 @@ public class CommonServiceImpl {
|
|||
String tenantId = HttpServletRequestUtil.getRequestInfo(CommonConstants.HEADER_TENANT_ID);
|
||||
|
||||
if(StringUtils.isNotBlank(tenantId)){
|
||||
getTenantId(commonDTO.getAuthId());
|
||||
getTenantId(tenantId);
|
||||
}else{
|
||||
TenantContext.setTenant(CommonConstants.defaultTenant);//设置当前租户
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue