摘要: 只需要一个注解就ok: @ConfigurationProperties("user.other") “user.other” 这个值匹配的是user下的other对象 yaml : yaml 的语法: https://yaml.org/spec/1.2/spec.html#directive// 阅读全文
posted @ 2019-03-26 11:47 _戈多 阅读(2828) 评论(0) 推荐(0) 编辑