diff --git a/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java b/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java index bfccebe31a927ed40318dbc029dbfb8cc3692a17..505939cf2f4e6856953dc558c75c7031b10ded4d 100644 --- a/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java +++ b/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java @@ -4,10 +4,11 @@ import org.springframework.beans.factory.annotation.Configurable; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.scheduling.annotation.EnableScheduling; @SpringBootApplication @Configurable -@EnableDiscoveryClient +@EnableScheduling public class Application { public static void main(String[] args) {