yml即yaml。
yml配置是有序的,properties配置是无序的,加载顺序是随机的。
yml传数组更方便。不支持用@PropertySource注入
yml和properties
最新推荐文章于 2023-08-29 09:35:39 发布
yml即yaml。
yml配置是有序的,properties配置是无序的,加载顺序是随机的。
yml传数组更方便。不支持用@PropertySource注入