fix(订单中心):租户模式开启,租户相关逻辑新增优化,首页接口返回数据封装
This commit is contained in:
+4
@@ -39,6 +39,10 @@ public class TenantAutoConfigure {
|
||||
|
||||
String tenant = TenantContextHolder.getTenant();
|
||||
if (tenant != null) {
|
||||
// webApp 租户可以查询所有数据,返回 Null 不加租户条件
|
||||
if ("webApp".equals(tenant)) {
|
||||
return new NullValue();
|
||||
}
|
||||
return new StringValue(TenantContextHolder.getTenant());
|
||||
}
|
||||
return new NullValue();
|
||||
|
||||
Reference in New Issue
Block a user