refactor(tenant): 移除租户数据源及数据源级隔离适配代码

This commit is contained in:
2025-07-15 21:54:22 +08:00
parent af1079da6d
commit 6e7d371565
39 changed files with 172 additions and 1292 deletions

View File

@@ -17,12 +17,14 @@
package top.continew.admin.common.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import top.continew.starter.core.constant.PropertiesConstants;
import java.util.List;
/**
* 租户配置属性
* 租户扩展配置属性
*
* @author 小熊
* @author Charles7c
@@ -30,7 +32,8 @@ import java.util.List;
*/
@Data
@Component
public class TenantProperties extends top.continew.starter.extension.tenant.autoconfigure.TenantProperties {
@ConfigurationProperties(prefix = PropertiesConstants.TENANT)
public class TenantExtensionProperties {
/**
* 忽略菜单 ID租户不能使用的菜单

View File

@@ -84,11 +84,6 @@ public class SysConstants {
*/
public static final String LOGOUT_URI = "/auth/logout";
/**
* 租户默认数据源
*/
public static final String DEFAULT_TENANT_DATASOURCE = "master";
/**
* 租户管理员角色编码
*/