BladeX4.2.0版本新增了TenantUtil,可以自定义传入tenantId,示例如下
TenantUtil.use(tenantId, () -> productService.getByProductKey(productKey) );
讨论(0)