Commit 57869afdf4c3a20fb3497acf69292d3b50452e26
1 parent
188aa77b
update
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/service/schedule/utils/DataToolsProperties.java
| @@ -8,7 +8,7 @@ import javax.validation.constraints.NotNull; | @@ -8,7 +8,7 @@ import javax.validation.constraints.NotNull; | ||
| 8 | * 配置数据导入导出用到的配置信息 | 8 | * 配置数据导入导出用到的配置信息 |
| 9 | */ | 9 | */ |
| 10 | @ConfigurationProperties( | 10 | @ConfigurationProperties( |
| 11 | - locations = "classpath:datatools/config.properties", | 11 | + locations = "classpath:datatools/config-${spring.profiles.active}.properties", |
| 12 | ignoreInvalidFields = true, | 12 | ignoreInvalidFields = true, |
| 13 | prefix = "datatools" | 13 | prefix = "datatools" |
| 14 | ) | 14 | ) |