myProps: #自定义的属性和值 simpleProp: simplePropValue arrayProps: 1,2,3,4,5 #数组 listProp1: #List<Map<String, String>> - name: abc value: abcValue - name: efg value: efgValue listProp2: #List - config2Value1 - config2Vavlue2 mapProps: #Map key1: value1 key2: value2
Spring boot 配置array,list,map
最新推荐文章于 2024-07-31 21:05:17 发布