摘要: 在SpringBoot中,有两种接口方式实现启动执行,分别是ApplicationRunner和CommandLineRunner,除了可接受参数不同,其他的大同小异 第一种方式:ApplicationRunner 1 import org.springframework.boot.Applicat 阅读全文
posted @ 2020-03-30 09:38 不忘初心5470 阅读(3592) 评论(0) 推荐(1) 编辑