Browse Source

1、新增定时器开启注解

Bingo 3 years ago
parent
commit
4b7713acef

+ 2 - 0
src/main/java/com/chuanghai/h3c_reporting/H3cReportingApplication.java

@@ -3,9 +3,11 @@ package com.chuanghai.h3c_reporting;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.cache.annotation.EnableCaching;
 import org.springframework.cache.annotation.EnableCaching;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
 
 @SpringBootApplication
 @SpringBootApplication
 @EnableCaching
 @EnableCaching
+@EnableScheduling //设置定时任务
 public class H3cReportingApplication {
 public class H3cReportingApplication {
 
 
     public static void main(String[] args) {
     public static void main(String[] args) {

File diff suppressed because it is too large
+ 69 - 69
src/main/resources/static/doc/index.html