From 1ea6b330869b3f46461e2137397fecf00a32a2dd Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期五, 24 五月 2024 14:25:12 +0800
Subject: [PATCH] S7通信异常后重连

---
 hangzhoumesParent/gateway/src/main/resources/application.yml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hangzhoumesParent/gateway/src/main/resources/application.yml b/hangzhoumesParent/gateway/src/main/resources/application.yml
index 2e0b3d4..3ddd26b 100644
--- a/hangzhoumesParent/gateway/src/main/resources/application.yml
+++ b/hangzhoumesParent/gateway/src/main/resources/application.yml
@@ -20,28 +20,28 @@
             - StripPrefix=2
 
         - id: cacheVerticalGlass
-          uri: http://127.0.0.1:8082
+          uri: lb://cacheVerticalGlass
           predicates:
             - Path=/api/cacheVerticalGlass/**
           filters:
             - StripPrefix=2
 
         - id: loadGlass
-          uri: http://127.0.0.1:8083
+          uri: lb://loadGlass
           predicates:
             - Path=/api/loadGlass/**
           filters:
             - StripPrefix=2
 
         - id: temperingGlass
-          uri: http://127.0.0.1:8084
+          uri: lb://temperingGlass
           predicates:
             - Path=/api/temperingGlass/**
           filters:
             - StripPrefix=2
 
         - id: unLoadGlass
-          uri: http://127.0.0.1:8085
+          uri: lb://unLoadGlass
           predicates:
             - Path=/api/unLoadGlass/**
           filters:

--
Gitblit v1.8.0