From 1c89bc4814c14e507748e55280948c688f148446 Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Tue, 27 May 2025 14:03:31 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20gateway-=E6=96=AD=E8=A8=80-=20?= =?UTF-8?q?=E9=95=BF=E7=9F=AD=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gateway/src/main/resources/application-route.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cloud-demo/gateway/src/main/resources/application-route.yaml b/cloud-demo/gateway/src/main/resources/application-route.yaml index 01a3645..c44b01e 100644 --- a/cloud-demo/gateway/src/main/resources/application-route.yaml +++ b/cloud-demo/gateway/src/main/resources/application-route.yaml @@ -9,4 +9,9 @@ spring: - id: product-route uri: lb://service-product predicates: - - Path=/api/product/** \ No newline at end of file + - name: Path + args: + patterns: /api/product/** + matchTrailingSlash: true + +