Pārlūkot izejas kodu

调整启动文件

lixing 3 gadi atpakaļ
vecāks
revīzija
bbd0ad9a3c
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 6 5
      src/main/resources/application.yml

+ 6 - 5
src/main/resources/application.yml

@@ -1,12 +1,13 @@
 alarm:
   subsystem:
     # 报警子系统ip
-#    ip: 192.168.16.192
-    ip: localhost
+    ip: 192.168.17.55
+#    ip: localhost
   iotservice:
     # 报警iot采集服务ip
-#    ip: 192.168.16.192
-    ip: localhost
+    ip: 192.168.17.55
+    port: 8081
+#    ip: localhost
 
 server:
   port: 8101
@@ -57,7 +58,7 @@ terminal: #边缘端IOT采集程序地址
     compress: false    #采用的是压缩方式还是不压缩方式  true-压缩 false-不压缩
       #    host: 192.168.17.55
     host: ${alarm.iotservice.ip}
-    port: 8080
+    port: ${alarm.iotservice.port}
     suffix: websocket/iot   #websocker后缀
 project:
   iotid:   #iot使用项目ID,不包含PJ