摘要: 方法一:通过springboot自带入口来开启定时器。 首先我们都知道,springboot有一个自己的入口,也就是@SpringBootApplication(他是一个组合注解 由@Configuration,@EnableAutoConfiguration和@ComponentScan组成)。 阅读全文
posted @ 2022-03-09 15:33 红尘沙漏 阅读(548) 评论(0) 推荐(0) 编辑