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 | 27 ++++++++++++++++----------- 1 files changed, 16 insertions(+), 11 deletions(-) diff --git a/jcdm-admin/src/main/java/com/jcdm/MesApplication.java b/jcdm-admin/src/main/java/com/jcdm/MesApplication.java index 1313000..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 { @@ -18,16 +22,17 @@ { // System.setProperty("spring.devtools.restart.enabled", "false"); SpringApplication.run(MesApplication.class, args); - System.out.println("(鈾モ棤鈥库棤)锞夛緸 绯荤粺鍚姩鎴愬姛 醿�(麓凇`醿�)锞� \n" /*+ - " .-------. ____ __ \n" + - " | _ _ \\ \\ \\ / / \n" + - " | ( ' ) | \\ _. / ' \n" + - " |(_ o _) / _( )_ .' \n" + - " | (_,_).' __ ___(_ o _)' \n" + - " | |\\ \\ | || |(_,_)' \n" + - " | | \\ `' /| `-' / \n" + - " | | \\ / \\ / \n" + - " ''-' `'-' `-..-' " */ - ); + System.out.println("(鈾モ棤鈥库棤)锞夛緸 绯荤粺鍚姩鎴愬姛 醿�(麓凇`醿�)锞� \n" + + " .-./`) _______ ______ ,---. ,---. \n"+ + " '_ .') / __ | _ `''. | > < | \n"+ + " (_ (_) _) | ,_/ __) | _ | ) _ | , >< , | \n"+ + " / . ,-./ ) |( ''_' ) || | _ /| | \n"+ + " ___ |-'`| > '_ '`) | . (_) `. || _( )_/ | | \n"+ + "| | | ' > (_) ) __ |(_ ._) '| (_ o _) | | \n"+ + "| `-' / ( . .-'_/ )| (_. .' / | (_,_) | | \n"+ + " / `-'`-' / | .' | | | | \n"+ + " `-..-' `._____.' '-----'` '--' '--' \n" + + ); } } -- Gitblit v1.9.3