From ee3353c0790ced3eb3aafa52c6f75f51ba98d7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com> Date: Sat, 14 Oct 2023 16:57:38 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=BA=94=E7=94=A8=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/bugstack/xfg/dev/tech/Application.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 bfccebe..505939c 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) { -- GitLab