mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-20 07:01:31 +08:00
refactor(tenant): 移除租户数据源及数据源级隔离适配代码
This commit is contained in:
@@ -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(租户不能使用的菜单)
|
@@ -84,11 +84,6 @@ public class SysConstants {
|
||||
*/
|
||||
public static final String LOGOUT_URI = "/auth/logout";
|
||||
|
||||
/**
|
||||
* 租户默认数据源
|
||||
*/
|
||||
public static final String DEFAULT_TENANT_DATASOURCE = "master";
|
||||
|
||||
/**
|
||||
* 租户管理员角色编码
|
||||
*/
|
||||
|
Reference in New Issue
Block a user