1 yml文件格式
1-1 注入list
appconfigs:
#初始化list
strList:
- star
- moon
- sun
1-2 初始化map
appconfigs:
#初始化map
strMap: {name: 'star',age: 25}
1-3 map 中有list
appconfigs:
#初始化map<String,List<Object>>
mapList:
name:
- star
- star1
- star2
age:
- 25
- 18
- 20