随笔分类 -  springboot

springboot学习笔记记录
摘要:第一种方法: 使用 @PostConstruct注解 1 @Configuration 2 3 public class Test1 { 4 5 @Autowired 6 7 private Environment environment; 8 9 @PostConstruct 10 11 publ 阅读全文
posted @ 2021-03-10 14:56 Vanilla香草阿 阅读(485) 评论(0) 推荐(0)