From e1a5409bfa2cca009160a961d9bff827ff133b1b Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 05 一月 2026 17:55:22 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_server
---
ycl-platform/src/main/java/com/ycl/PlatformApplication.java | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/PlatformApplication.java b/ycl-platform/src/main/java/com/ycl/PlatformApplication.java
index c59d124..f77c2d7 100644
--- a/ycl-platform/src/main/java/com/ycl/PlatformApplication.java
+++ b/ycl-platform/src/main/java/com/ycl/PlatformApplication.java
@@ -1,11 +1,14 @@
package com.ycl;
+import com.dahua.netsdk.AppDemo;
+import com.ycl.util.SpringContextUtil;
import com.ycl.util.VideoUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
+import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.core.env.Environment;
@@ -42,6 +45,19 @@
env.getProperty("server.port"));
- }
+ ////////////////////////////////澶栫綉鏈嶅姟灞忚斀鍐呭////////////////////////////////
+// try {
+// new AppDemo().start();
+// } catch (Exception e) {
+// log.info("鎵ц澶у崕鎶ヨ绋嬪簭鍑洪敊锛�", e.getMessage());
+// }
+// try {
+// // 鍚姩鏃讹紝淇濆瓨涓婁笅鏂囷紝骞朵繚瀛樹负闈欐��
+// SpringContextUtil.setAc(application);
+// new OSSImageMove().start();
+// } catch (Exception e) {
+// log.info("鍥剧墖绋嬪簭鍑洪敊锛�", e.getMessage());
+// }
+ }
}
--
Gitblit v1.8.0