From a6c049f5f1bd4848f0c5fe73046815b5cb085028 Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期一, 05 八月 2024 09:14:20 +0800
Subject: [PATCH] 更改 读取某工程下的所有版图信息
---
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..93b9826 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: 10.153.19.150: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