mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-14 06:03:52 +08:00
Spring Boot 属性配置文件
This commit is contained in:
5
springboot-properties/src/main/resources/application.yml
Normal file
5
springboot-properties/src/main/resources/application.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
## 家乡属性
|
||||
home:
|
||||
province: 浙江省
|
||||
city: 温岭松门
|
||||
desc: 我家住在${home.province}的${home.city}
|
||||
Reference in New Issue
Block a user