server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system1 uri: https://www.baidu.com predicates: - Weight=group1, 8 #路由权重比,80% filters: - StripPrefix=1 - id: guo-system2 uri: https://www.json.cn predicates: - Weight=group1, 2 #路由权重比,20% filters: - StripPrefix=1