From 0ae327c0c3e6bf00e332f231c50a3bcbb0a7fb4c Mon Sep 17 00:00:00 2001
From: yyt <306727702@qq.com>
Date: 星期四, 23 五月 2024 22:22:24 +0800
Subject: [PATCH] 380新产品,优化

---
 jcdm-admin/src/main/java/com/jcdm/MesApplication.java |   29 ++++++++++++++++++-----------
 1 files changed, 18 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..05140db 100644
--- a/jcdm-admin/src/main/java/com/jcdm/MesApplication.java
+++ b/jcdm-admin/src/main/java/com/jcdm/MesApplication.java
@@ -1,8 +1,12 @@
 package com.jcdm;
 
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 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 +15,8 @@
  */
 
 
+@EnableScheduling //瀹氭椂浠诲姟
+@ServletComponentScan //webSocket
 @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
 public class MesApplication
 {
@@ -18,16 +24,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