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