全业务考评 1 anno fa
parent
commit
749489d650

+ 6 - 6
power-fitting-JN/src/main/java/com.gyee.power.fitting/common/config/DataSourceConfig.java

@@ -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;
-    }
+//    @Bean
+//    @ConfigurationProperties(prefix = "spring.datasource.dynamic.datasource")
+//    public DataSource druidDataSource() {
+//        DruidDataSource druidDataSource = new DruidDataSource();
+//        return druidDataSource;
+//    }
 }