feat: 提问评论多租户

master
yang 2025-01-24 13:37:15 +08:00
parent 200e5c1d32
commit 7c527151b0
1 changed files with 4 additions and 2 deletions

View File

@ -21,6 +21,8 @@ public class CustomTenantHandler implements TenantLineHandler {
* . * .
*/ */
static { static {
// 发布评论表
tables.add("cc_comment");
// 社区表 // 社区表
tables.add("cc_community"); tables.add("cc_community");
// 邀请表 // 邀请表
@ -29,8 +31,8 @@ public class CustomTenantHandler implements TenantLineHandler {
tables.add("cc_publish"); tables.add("cc_publish");
// 提问表 // 提问表
tables.add("cc_question"); tables.add("cc_question");
// 发布评论表 // 提问评论表
tables.add("cc_publish_comment"); tables.add("cc_question_comment");
// 输出表名 // 输出表名
log.info("多租户表:{}", tables); log.info("多租户表:{}", tables);