|
@@ -13,10 +13,10 @@ import javax.sql.DataSource;
|
|
|
@Configuration
|
|
|
public class DataSourceConfig {
|
|
|
|
|
|
- @Bean
|
|
|
- @ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource.master")
|
|
|
- public DataSource druidDataSource() {
|
|
|
- DruidDataSource druidDataSource = new DruidDataSource();
|
|
|
- return druidDataSource;
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|