From 9465ca0127101dfec793afce847b613dad80bce2 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期六, 07 三月 2026 13:17:00 +0800
Subject: [PATCH] #钉钉消息通知

---
 src/main/java/com/zy/asrs/task/ExceptionNoticeScheduler.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/ExceptionNoticeScheduler.java b/src/main/java/com/zy/asrs/task/ExceptionNoticeScheduler.java
index 06a973e..6400efa 100644
--- a/src/main/java/com/zy/asrs/task/ExceptionNoticeScheduler.java
+++ b/src/main/java/com/zy/asrs/task/ExceptionNoticeScheduler.java
@@ -1,11 +1,16 @@
 package com.zy.asrs.task;
 
 import com.zy.asrs.task.core.ReturnT;
+import com.zy.asrs.task.handler.ExceptionNoticeHandler;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
 
 import static org.reflections.Reflections.log;
-
+@Component
 public class ExceptionNoticeScheduler {
+    @Autowired
+    private ExceptionNoticeHandler exceptionNoticeHandler;
     @Scheduled(cron = "0/1 * * * * ? ")
     private void execute(){
         ReturnT<String> returnT = exceptionNoticeHandler.start();

--
Gitblit v1.9.1