perf: 修改动态数据源前缀

This commit is contained in:
xiang
2025-08-12 22:46:23 +08:00
parent 65a576454f
commit e785bb6d56

View File

@@ -11,7 +11,7 @@ import java.util.Map;
@Data @Data
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
@ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource") @ConfigurationProperties(prefix = "spring.datasource.dynamic")
public class DynamicDataSourceProperties { public class DynamicDataSourceProperties {
private String primary; private String primary;
private Map<String, DataSourceProperty> datasource = new HashMap<>(); private Map<String, DataSourceProperty> datasource = new HashMap<>();