Selaa lähdekoodia

aps-打开定时任务配置

sucheng 7 kuukautta sitten
vanhempi
commit
93e9ada714

+ 2 - 0
cx-aps/cx-aps-server/src/main/java/com/rongwei/ApsBusinessServerApplication.java

@@ -6,12 +6,14 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
 import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.scheduling.annotation.EnableAsync;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
 @EnableAsync
 @SpringBootApplication
 @EnableDiscoveryClient
 @EnableFeignClients
 @MapperScan({"com.rongwei.*.*.dao", "com.rongwei.*.*.*.dao"})
+@EnableScheduling
 public class ApsBusinessServerApplication {
 
     public static void main(String[] args) {