feat: 修改property加载方式

This commit is contained in:
zlt2000
2023-11-25 10:57:08 +08:00
parent cb77754ca2
commit c91f01aea1
14 changed files with 0 additions and 27 deletions
@@ -4,7 +4,6 @@ import cn.hutool.core.collection.CollUtil;
import com.google.common.collect.ImmutableSet;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.Collections;
import java.util.HashSet;
@@ -17,7 +16,6 @@ import java.util.Set;
*/
@ConfigurationProperties(prefix = "zlt.datascope")
@Data
@Component
public class DataScopeProperties {
private static final Set<String> INGORE_SQL_ID = ImmutableSet
.of("com.central.user.mapper.findRolesByUserId"
@@ -4,7 +4,6 @@ import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
@@ -18,7 +17,6 @@ import java.util.List;
@Getter
@ConfigurationProperties(prefix = "zlt.tenant")
@RefreshScope
@Component
public class TenantProperties {
/**
* 是否开启多租户