Selaa lähdekoodia

设备工具类

李进 2 vuotta sitten
vanhempi
commit
05cec2c8b0

+ 1 - 1
device-start/src/main/resources/bootstrap-uat.yml

@@ -9,7 +9,7 @@ spring:
 cloud:
   service:
     name: device
-    ip: 119.96.213.127
+    ip: 192.168.0.102
 
 #xxl-job配置
 xxl:

+ 1 - 1
device-start/src/main/resources/bootstrap.yml

@@ -12,7 +12,7 @@ server:
 #微服务相关配置
 cloud:
   center:
-    url: 119.96.213.127:9007
+    url: ${ip:119.96.213.127}:9007
     config:
       shared-configs: redis.yaml,mysql.yaml,mqtt.yaml,es.yaml,xxl-job.yaml
       name: device