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