Skip to content

Commit d04e6fa

Browse files
committed
bugfix/修复单体应用启动问题
1 parent ca970c2 commit d04e6fa

File tree

2 files changed

+3
-3
lines changed
  • pmhub-boot
    • pmhub-framework/src/main/java/com/laigeoffer/pmhub/framework/config/properties
    • pmhub-generator/src/main/java/com/laigeoffer/pmhub/generator/config

2 files changed

+3
-3
lines changed

pmhub-boot/pmhub-framework/src/main/java/com/laigeoffer/pmhub/framework/config/properties/DruidProperties.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class DruidProperties {
2929
@Value("${spring.datasource.druid.minEvictableIdleTimeMillis}")
3030
private int minEvictableIdleTimeMillis;
3131

32-
@Value("${pring.datasource.druid.maxEvictableIdleTimeMillis}")
32+
@Value("${spring.datasource.druid.maxEvictableIdleTimeMillis}")
3333
private int maxEvictableIdleTimeMillis;
3434

3535
@Value("${spring.datasource.druid.validationQuery}")
@@ -41,7 +41,7 @@ public class DruidProperties {
4141
@Value("${spring.datasource.druid.testOnBorrow}")
4242
private boolean testOnBorrow;
4343

44-
@Value("${pring.datasource.druid.testOnReturn}")
44+
@Value("${spring.datasource.druid.testOnReturn}")
4545
private boolean testOnReturn;
4646

4747
public DruidDataSource dataSource(DruidDataSource datasource) {

pmhub-boot/pmhub-generator/src/main/java/com/laigeoffer/pmhub/generator/config/GenConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
@Component
1414
@ConfigurationProperties(prefix = "gen")
15-
@PropertySource(value = {"classpath:gen.yml"})
15+
@PropertySource(value = {"classpath:generator.yml"})
1616
public class GenConfig {
1717
/**
1818
* 作者

0 commit comments

Comments
 (0)