feat: 提问评论多租户
parent
200e5c1d32
commit
7c527151b0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue