From d76424a20821a24987c315c889d592102b191455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BA=91?= Date: Fri, 16 May 2025 16:43:27 +0800 Subject: [PATCH] xxx --- start/gateway/application.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/start/gateway/application.yml b/start/gateway/application.yml index dbe1c49..af188eb 100644 --- a/start/gateway/application.yml +++ b/start/gateway/application.yml @@ -65,6 +65,23 @@ spring: allowCredentials: true maxAge: 360000 routes: + # 机场平台 platform服务 + - id: tuoheng-airport-admin + uri: http://${AIRPORT_NAME}:9060 + predicates: + - Path=/airport/admin/** + filters: + - StripPrefix=2 + metadata: + response-timeout: 20000 + connect-timeout: 30000 + # 机场平台 platform服务 webSocket + - id: tuoheng-airport-admin + uri: ws://${AIRPORT_NAME}:9060 + predicates: + - Path=/airport/socket/** + filters: + - StripPrefix=2 # 后台管理 - id: tuoheng-dsp-admin uri: http://dsp-admin:9014