摘要: 启动后自动执行任务 实现CommandLineRunner接口,实现其中的run(String... args) 方法。 如果存在多个实现类,则指定 @Order注解决定顺序 @SpringBootApplication @Order(2) public class Application impl 阅读全文
posted @ 2021-11-01 21:05 飞翔在天 阅读(23) 评论(0) 推荐(0) 编辑