2020年4月7日
摘要: Spring Boot 中实现定时任务的两种方式! 第一种:使用注解@Scheduled 使用 @Scheduled 非常容易,直接创建一个 Spring Boot 项目,并且添加 web 依赖 spring-boot-starter-web,项目创建成功后,添加 @EnableScheduling 阅读全文
posted @ 2020-04-07 16:12 幂次方 阅读(1369) 评论(0) 推荐(0)