From 3448efdf13adeb793fdb71d70a3947bbf19d40af Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 10 二月 2025 16:50:02 +0800
Subject: [PATCH] #
---
rsf-server/src/main/java/com/vincent/rsf/server/common/config/MybatisPlusConfig.java | 3 +--
rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java | 6 +++++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/common/config/MybatisPlusConfig.java b/rsf-server/src/main/java/com/vincent/rsf/server/common/config/MybatisPlusConfig.java
index 034239f..98e297d 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/common/config/MybatisPlusConfig.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/common/config/MybatisPlusConfig.java
@@ -42,8 +42,7 @@
"sys_host",
"sys_user_role",
"sys_role_menu",
- "sys_menu",
- "sys_dept"
+ "sys_menu"
).contains(tableName);
}
};
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java b/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java
index ff30c51..d9580a4 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java
@@ -67,7 +67,11 @@
@OperationLog("Init Tenant")
@PostMapping("/tenant/init")
public R init(@RequestBody TenantInitParam param) {
-
+ // add tenant
+ // add user
+ // add role
+ // add user_role
+ // add role_menu
return R.ok("Initialize Success");
--
Gitblit v1.9.1