在 Spring Cloud Gateway 中配置 uri 有三种方式,包括: 1、WebSocket路由 spring: cloud: gateway: routes: - id: bt-api uri: ws:/