From 0a5d2206db1e39e18e393847f766678e3f9528d4 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 17 十二月 2025 18:49:05 +0800
Subject: [PATCH] 最新版本541200007最新版本541200007

---
 server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/WarningServiceImpl.java |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/WarningServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/WarningServiceImpl.java
index cdf162f..da0bdca 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/WarningServiceImpl.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/WarningServiceImpl.java
@@ -315,6 +315,9 @@
                     model.setSubscribeStatus(Constants.TWO);
                     model.setSubscribeInfo(response.getMsg());
                 }
+
+               startCheckThirdDest(eventParam);
+
             }else{
                 model.setSubscribeStatus(Constants.ZERO);
             }
@@ -325,6 +328,32 @@
         warningMapper.updateById(model);
     }
 
+    /**
+     * 妫�鏌ヤ笁鏂规槸鍚﹂渶瑕佽闃呮捣搴蜂簨浠�
+     * @param eventParam
+     */
+
+    private void startCheckThirdDest(EventSubRequest eventParam) {
+        try {
+            String thirdpath =systemDictDataBiz.queryByCode(Constants.HK_PARAM, Constants.HK_PUSH_THIRD_URL).getCode();
+            if(StringUtils.isNotBlank(thirdpath)){
+                String[] ss = thirdpath.split(";");
+                for(String s : ss){
+                    eventParam.setEventDest(s);
+                    BaseResponse response =   HKService.eventSub(eventParam);
+                    if(Objects.nonNull(response)&&StringUtils.equals(response.getCode(), HKConstants.RESPONSE_SUCCEE)){
+                        log.error("========璁㈤槄鍏朵粬涓夋柟鍦板潃鎴愬姛:"+s);
+                    }else{
+                        log.error("========璁㈤槄鍏朵粬涓夋柟鍦板潃閿欒:"+s);
+                    }
+                }
+            }
+        }catch (Exception e){
+        log.error("========璁㈤槄鍏朵粬涓夋柟鍦板潃閿欒"+e.getMessage());
+        }
+
+    }
+
 
     /**
      * 瀹氭椂鑾峰彇澶╂皵淇℃伅鎵ц

--
Gitblit v1.9.3