From 20159916dd5f3a89b97a9ba83bed37b841471921 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 24 七月 2024 12:43:58 +0800
Subject: [PATCH] 上片模块:上片模块对接完成,命令可正常写入 上片逻辑:复位后需要向plc发送联动请求,联动请求为1后可接收到上片机发送的上片请求,否则无法执行上片任务

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

diff --git a/hangzhoumesParent/gateway/src/main/resources/application.yml b/hangzhoumesParent/gateway/src/main/resources/application.yml
index f8655cf..a369150 100644
--- a/hangzhoumesParent/gateway/src/main/resources/application.yml
+++ b/hangzhoumesParent/gateway/src/main/resources/application.yml
@@ -1,10 +1,12 @@
 server:
   port: 88
 spring:
-  profiles:
-    active: prod
   application:
     name: gateway
+  cloud:
+    nacos:
+      discovery:
+        server-addr: 127.0.0.1:8848
     gateway:
       discovery:
         locator:
@@ -45,6 +47,14 @@
           filters:
             - StripPrefix=2
 
+
+        - id: glassStorage
+          uri: lb://glassStorage
+          predicates:
+            - Path=/api/glassStorage/**
+          filters:
+            - StripPrefix=2
+
 #        - id: unLoadGlass
 #          uri: lb://unLoadGlass
 #          predicates:

--
Gitblit v1.8.0