From 5f282906647aa150d2d612968fdbd00ceaca4119 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期四, 13 三月 2025 09:51:05 +0800
Subject: [PATCH] 1、fixbug:生成lisec文件顺序错乱,经排查发现按照出片顺序排序后使用map时导致乱序,现在在生成文件之前重新排序,确保顺序正确。
---
hangzhoumesParent/gateway/src/main/resources/application.yml | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/hangzhoumesParent/gateway/src/main/resources/application.yml b/hangzhoumesParent/gateway/src/main/resources/application.yml
index f8655cf..6cecd95 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,20 @@
filters:
- StripPrefix=2
+ - id: glassStorage
+ uri: lb://glassStorage
+ predicates:
+ - Path=/api/glassStorage/**
+ filters:
+ - StripPrefix=2
+
+ - id: hollowGlass
+ uri: lb://hollowGlass
+ predicates:
+ - Path=/api/hollowGlass/**
+ filters:
+ - StripPrefix=2
+
# - id: unLoadGlass
# uri: lb://unLoadGlass
# predicates:
--
Gitblit v1.8.0