Fork me on GitHub
摘要: 3.2 注入配置文件 yaml更强大的地方在于,可以给实体类直接注入匹配值! yaml注入配置文件 在springboot项目中的resources目录下新建application.yml 编写一个实体类 Dog @Component public class Dog { private Strin 阅读全文
posted @ 2020-09-23 17:44 CodeHuba 阅读(145) 评论(0) 推荐(0) 编辑