|
|
@@ -24,7 +24,7 @@ import static com.shkpr.service.customgateway.core.constants.DataSourceNames.PRI
|
|
|
*/
|
|
|
@Configuration
|
|
|
@EnableConfigurationProperties(DataSourceProperties.class)
|
|
|
-@PropertySource(value = "file:${global.sql-config-path}", ignoreResourceNotFound = true, encoding = "UTF-8", factory = YamlPropertySourceFactory.class)
|
|
|
+@PropertySource(value = "file:${spring.datasource.config-path}", ignoreResourceNotFound = true, encoding = "UTF-8", factory = YamlPropertySourceFactory.class)
|
|
|
public class DataSourceConfig {
|
|
|
/**
|
|
|
* @param properties 属性
|