mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-14 14:19:08 +08:00
⚡ 优化ing. 代码生成器描述,添加租户ID常量
This commit is contained in:
1 parent
7b2609408d
commit
64d2dad9c1
3 files changed
+8
-2
No files matched your search
+1
-1
@@ -53,7 +53,7 @@ public class TenantContextHolderFilter extends GenericFilterBean {
|
||||
if (StrUtil.isNotBlank(tenantId)) {
|
||||
TenantContextHolder.setTenantId(Integer.parseInt(tenantId));
|
||||
} else {
|
||||
TenantContextHolder.setTenantId(1);
|
||||
TenantContextHolder.setTenantId(CommonConstants.TENANT_ID_1);
|
||||
}
|
||||
|
||||
filterChain.doFilter(request, response);
|
||||
|
||||
Reference in new issue
Block a user