Skip to content

Commit e7aa5f2

Browse files
committed
update get static var
1 parent ac84f05 commit e7aa5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/com/ttblog/ssmbootstrap_table/controller/TestController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class TestController {
9090
//注入静态属性值
9191
private static String JDBCURL;
9292
//注入方法
93-
@Value("#{configProperties['url']}")
93+
@Value("#{configProperties['jdbc.url']}")
9494
public void setJdbcUrl(String url) {
9595
JDBCURL = url;
9696
}

0 commit comments

Comments
 (0)