From c7c8554e2b9809bc90ac4a43fdaa39dfe16f4ab0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 09 五月 2025 14:09:32 +0800
Subject: [PATCH] “远程测控”功能返回数据中增加protocol和protocolVersion属性,以备前端做多协议兼容。

---
 pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml |   98 ++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 80 insertions(+), 18 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml b/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml
index ae76e9e..b302ccc 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml
@@ -1,4 +1,6 @@
 spring:
+    main:
+        allow-bean-definition-overriding: true #璁剧疆涓簍rue鏃讹紝鍚庡畾涔夌殑bean浼氳鐩栦箣鍓嶅畾涔夌殑鐩稿悓鍚嶇О鐨刡ean
     servlet:
         multipart:
             # 鍓嶇涓婁紶鏂囦欢锛岄檺鍒跺崟涓枃浠剁殑澶у皬鍜岄檺鍒舵墍鏈夋枃浠剁殑澶у皬
@@ -90,8 +92,8 @@
         webPort: 54321
         webFilePort: 64321
     mw:
-        webPort: 8070 #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢�
-        actutorPort: 9070 #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢�
+        webPort: ${common.pipIrr_mw_webPort} #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢�
+        actutorPort: ${common.pipIrr_mw_actutorPort} #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢�
         idSuffix: 0
     sso:
         cacheMaximumSize: 10000 #鐧诲綍鐢ㄦ埛缂撳瓨鍙紦瀛樼敤鎴风殑鏈�澶у��
@@ -144,6 +146,10 @@
         webPort: 8089
         actutorPort: 9089
         idSuffix: 11
+    terminal:
+        webPort: 8090
+        actutorPort: 9090
+        idSuffix: 12
     # 2023-10-24鏂板锛岀敤浜庢墽琛屼复鏃朵换鍔★紝渚嬪鍒犻櫎鏁版嵁搴撲腑涓婁簺鍑洪敊鐨勬暟鎹�
     temp:
         webPort: 8099
@@ -331,15 +337,30 @@
     mj:
         url: "http://127.0.0.1:8071"
         comSendUrl: "http://127.0.0.1:8071/rtuMw/com/send"
-    mq:
-        url: "http://127.0.0.1:8100"
-        comSendUrl: "http://127.0.0.1:8100/rtuMw/com/send"
     sp:
         url: "http://127.0.0.1:8073"
         comSendUrl: "http://127.0.0.1:8073/rtuMw/com/send"
     test:
         url: "http://127.0.0.1:8072"
         comSendUrl: "http://127.0.0.1:8072/rtuMw/com/send"
+    mq:
+        url: "http://127.0.0.1:8100"
+        comSendUrl: "http://127.0.0.1:8100/rtuMw/com/send"
+    yq:
+        url: "http://127.0.0.1:8101"
+        comSendUrl: "http://127.0.0.1:8101/rtuMw/com/send"
+    hlj:
+        url: "http://127.0.0.1:8102"
+        comSendUrl: "http://127.0.0.1:8102/rtuMw/com/send"
+    gz:
+        url: "http://127.0.0.1:8103"
+        comSendUrl: "http://127.0.0.1:8103/rtuMw/com/send"
+    lz:
+        url: "http://127.0.0.1:8104"
+        comSendUrl: "http://127.0.0.1:8104/rtuMw/com/send"
+    jc:
+        url: "http://127.0.0.1:8105"
+        comSendUrl: "http://127.0.0.1:8105/rtuMw/com/send"
     #Rtu杩滅▼鍛戒护缁撴灉鍥炶皟鍦板潃
     rtuCallbackUrl_rm: "http://127.0.0.1:8081/remote/comRes/receive"
     #鎺ユ敹閫氫俊涓棿浠舵秷鎭腑蹇冩秷鎭殑鍦板潃
@@ -348,6 +369,7 @@
     ugCallbackUrl_rm: "http://127.0.0.1:8081/remote/rtuUpgradeStateReceiver/receive"
     #寰俊灏忕▼搴忓簲鐢ㄤ腑Rtu杩滅▼鍛戒护缁撴灉鍥炶皟鍦板潃
     rtuCallbackUrl_wx: "http://127.0.0.1:8087/wx/comRes/receive"
+    waitMwRtnResultTimeout: 60 #绛夊緟涓棿浠惰繑鍥炵粨鏋滆秴鏃舵椂闂达紝鍗曚綅绉掗挓
 
 #涓嶈繘琛寀serToken杩囨护鐨刄RL锛孈ConfigurationProperties瑕佹眰tokennofilter涓墍鏈夊瓧姣嶉兘灏忓啓
 tokennofilter:
@@ -370,7 +392,7 @@
 #閽夐拤娑堟伅鎺ㄩ��
 dingtalk:
     ym:
-        enable: true #鏄惁鍚敤
+        enable: false #鏄惁鍚敤
         robot:
             url: https://oapi.dingtalk.com/robot/send
             access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
@@ -378,15 +400,7 @@
         at-all: true
         mobile: 18602657034
     mj:
-        enable: true #鏄惁鍚敤
-        robot:
-            url: https://oapi.dingtalk.com/robot/send
-            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
-            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
-        at-all: true
-        mobile: 18602657034
-    mq:
-        enable: true #鏄惁鍚敤
+        enable: false #鏄惁鍚敤
         robot:
             url: https://oapi.dingtalk.com/robot/send
             access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
@@ -394,7 +408,7 @@
         at-all: true
         mobile: 18602657034
     sp:
-        enable: true #鏄惁鍚敤
+        enable: false #鏄惁鍚敤
         robot:
             url: https://oapi.dingtalk.com/robot/send
             access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
@@ -402,7 +416,55 @@
         at-all: true
         mobile: 18602657034
     test:
-        enable: true #鏄惁鍚敤
+        enable: false #鏄惁鍚敤
+        robot:
+            url: https://oapi.dingtalk.com/robot/send
+            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
+            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
+        at-all: true
+        mobile: 18602657034
+    mq:
+        enable: false #鏄惁鍚敤
+        robot:
+            url: https://oapi.dingtalk.com/robot/send
+            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
+            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
+        at-all: true
+        mobile: 18602657034
+    yq:
+        enable: false #鏄惁鍚敤
+        robot:
+            url: https://oapi.dingtalk.com/robot/send
+            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
+            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
+        at-all: true
+        mobile: 18602657034
+    hlj:
+        enable: false #鏄惁鍚敤
+        robot:
+            url: https://oapi.dingtalk.com/robot/send
+            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
+            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
+        at-all: true
+        mobile: 18602657034
+    gz:
+        enable: false #鏄惁鍚敤
+        robot:
+            url: https://oapi.dingtalk.com/robot/send
+            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
+            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
+        at-all: true
+        mobile: 18602657034
+    lz:
+        enable: false #鏄惁鍚敤
+        robot:
+            url: https://oapi.dingtalk.com/robot/send
+            access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
+            secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7
+        at-all: true
+        mobile: 18602657034
+    jc:
+        enable: false #鏄惁鍚敤
         robot:
             url: https://oapi.dingtalk.com/robot/send
             access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f
@@ -420,4 +482,4 @@
 #铏氭嫙鍗¢厤缃弬鏁�
 vc:
     #铏氭嫙鍗℃渶浣庝綑棰濇姤璀﹀��
-    alarmValue: 10
\ No newline at end of file
+    alarmValue: 10

--
Gitblit v1.8.0