From a8e32b8a10bb462bb01f37e3b03d9d9fc3ffdee5 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期五, 10 五月 2024 16:28:59 +0800
Subject: [PATCH] 增加上片模块线程,增加保存工程时的已保存判断

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

diff --git a/hangzhoumesParent/gateway/src/main/resources/application.yml b/hangzhoumesParent/gateway/src/main/resources/application.yml
index 8776a14..f8655cf 100644
--- a/hangzhoumesParent/gateway/src/main/resources/application.yml
+++ b/hangzhoumesParent/gateway/src/main/resources/application.yml
@@ -1,12 +1,10 @@
 server:
   port: 88
 spring:
+  profiles:
+    active: prod
   application:
     name: gateway
-  cloud:
-    nacos:
-      discovery:
-        server-addr: 10.153.19.150:8848
     gateway:
       discovery:
         locator:
@@ -20,28 +18,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