From f22c4b9230808fed4fec80c435eccb4c833349a0 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 21 十月 2022 18:36:38 +0800 Subject: [PATCH] 2022.10.21 1.环境守法小程序后台功能首发版本完成 --- src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt b/src/main/kotlin/cn/flightfeather/supervision/SupervisionApplication.kt index c339a5a..518e7c5 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() + wxTokenManager.run() } } -- Gitblit v1.9.3