From 06bbe2b33d8f147a5c5b024f3c0e507b547e794b Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 11 九月 2023 21:54:32 +0800
Subject: [PATCH] 100路视频

---
 ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java b/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java
index 28e3e36..c85acea 100644
--- a/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java
+++ b/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java
@@ -52,11 +52,11 @@
 
     @Override
     public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) {
-         if (contextRefreshedEvent.getApplicationContext().getParent() == null) {
-             Thread thread = new Thread(this::run);
-             thread.setUncaughtExceptionHandler(handler);
-             thread.start();
-         }
+//         if (contextRefreshedEvent.getApplicationContext().getParent() == null) {
+//             Thread thread = new Thread(this::run);
+//             thread.setUncaughtExceptionHandler(handler);
+//             thread.start();
+//         }
     }
 
     @Autowired
@@ -204,6 +204,6 @@
 
     @Override
     public void run(ApplicationArguments args) throws Exception {
-         run();
+//         run();
     }
 }

--
Gitblit v1.8.0