From 5a05af737f226fffa248e8fdb27546688af19100 Mon Sep 17 00:00:00 2001
From: wujian <14790700720@163.com>
Date: 星期四, 25 四月 2024 21:02:09 +0800
Subject: [PATCH] change model2

---
 jcdm-admin/src/main/java/com/jcdm/MesApplication.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/jcdm-admin/src/main/java/com/jcdm/MesApplication.java b/jcdm-admin/src/main/java/com/jcdm/MesApplication.java
index 83c6e00..9e69293 100644
--- a/jcdm-admin/src/main/java/com/jcdm/MesApplication.java
+++ b/jcdm-admin/src/main/java/com/jcdm/MesApplication.java
@@ -3,6 +3,8 @@
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+import org.springframework.boot.web.servlet.ServletComponentScan;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
 /**
  * 鍚姩绋嬪簭
@@ -11,6 +13,8 @@
  */
 
 
+@EnableScheduling //瀹氭椂浠诲姟
+@ServletComponentScan //webSocket
 @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
 public class MesApplication
 {

--
Gitblit v1.9.3