Springboot入门其余知识点

1、定时任务html ①建立定时任务java @Component public class ScheduledTasks { @Scheduled(fixedRate = 1000) public void add() { System.out.println("我正在执行.."+System.currentTimeMillis()); } } ②开启
相关文章
相关标签/搜索