From 259edc291285c0c2f8f234e237b50963e4466b0c Mon Sep 17 00:00:00 2001 From: djz8236 Date: Fri, 2 Jun 2023 19:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E8=B0=83=E5=BA=A6=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=20=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gateway/src/main/resources/application.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/yxt_supervise/gateway/src/main/resources/application.yml b/yxt_supervise/gateway/src/main/resources/application.yml index fc658ea8..d74a2baf 100644 --- a/yxt_supervise/gateway/src/main/resources/application.yml +++ b/yxt_supervise/gateway/src/main/resources/application.yml @@ -18,10 +18,17 @@ spring: gateway: routes: - id: supervise-portal - predicates: + predicates: - Path= /service/** - uri: lb://supervise-portal - filters: + uri: lb://supervise-portal + filters: + - StripPrefix=1 + # 工单调度系统 + - id: supervise-dispatchcenter + predicates: + - Path= /dispatch/** + uri: lb://supervise-dispatchcenter + filters: - StripPrefix=1 - id: supervise-system