springboot 项目启动立即执行的方法
摘要:
#1:@PostConstruct 1 @Component 2 public class testController { 3 4 /** 5 * 项目启动时,初始化定时器 6 */ 7 @PostConstruct 8 public void init() { 9 System.out.prin 阅读全文
posted @ 2021-12-14 15:12
夜空中闪闪发光的星星
阅读(74)
评论(0)
推荐(0)
浙公网安备 33010602011771号