摘要: springboot项目启动成功后执行task的方式 1、实现ApplicationRunner接口 package com.lnjecit.lifecycle; import org.springframework.boot.ApplicationArguments; import org.spr 阅读全文
posted @ 2020-07-10 10:49 mzjnumber1 阅读(1000) 评论(0) 推荐(0) 编辑