From 23bd719cebe5feeff4e48fde925b0b39755eea93 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 15 十一月 2022 10:59:50 +0800
Subject: [PATCH] 2022.11.15

---
 src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt b/src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt
index c339a5a..63fe9e1 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt
@@ -1,5 +1,6 @@
 package cn.flightfeather.supervision
 
+import cn.flightfeather.supervision.common.wx.WxTokenManager
 import cn.flightfeather.supervision.timingtask.TaskController
 import cn.flightfeather.supervision.websocket.VMRoomWebSocketServer
 import org.springframework.beans.factory.annotation.Autowired
@@ -18,10 +19,14 @@
     @Autowired
     lateinit var taskController: TaskController
 
+    @Autowired
+    lateinit var wxTokenManager: WxTokenManager
+
     @Bean
     fun runner() = ApplicationRunner {
         webSocketServer.start()
-//        taskController.run()
+        taskController.run()
+        wxTokenManager.run()
     }
 }
 

--
Gitblit v1.9.3