perf: 修改动态数据源前缀
This commit is contained in:
@@ -11,7 +11,7 @@ import java.util.Map;
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource")
|
||||
@ConfigurationProperties(prefix = "spring.datasource.dynamic")
|
||||
public class DynamicDataSourceProperties {
|
||||
private String primary;
|
||||
private Map<String, DataSourceProperty> datasource = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user