Browse Source

修改配置文件 vhost

zhaiyifei 1 year ago
parent
commit
f35a86e3b0
2 changed files with 6 additions and 4 deletions
  1. 5 3
      src/main/resources/application-dev.yml
  2. 1 1
      src/main/resources/application.yml

+ 5 - 3
src/main/resources/application-dev.yml

@@ -140,16 +140,18 @@ spring:
       port: 5672
       username: admin
       password: admin
-      virtual-host: /local_IP_05
+      virtual-host: /agmp-sass-tos
       connection-timeout: 15000
       publisher-returns: true
       enabled: true
+      code: saas1
+    # 在物联网系统中 agmp 是 iotm 和 iots 之间通信使用
     agmp:
-      host: 192.168.1.228
+      host: 192.168.1.230
       port: 5672
       username: admin
       password: admin
-      virtual-host: /local_IP_05
+      virtual-host: /agmp-sass-iot
       connection-timeout: 15000
       publisher-returns: true
       enabled: true

+ 1 - 1
src/main/resources/application.yml

@@ -2,6 +2,6 @@ spring:
   profiles:
     #active: uat-xiaobanqiao
     #active: demo-inner
-    active: dev-zhai
+    active: dev
     #active: prod-bailang
     #active: changli