1.3.1、datetime时间-Before、After、Between
server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system1 uri: https://www.baidu.com predicates: - Path=/gateway - Before=2021-06-21T09:37:00+08:00[Asia/Shanghai] #09:37之前的请求将从这里路由 filters: - StripPrefix=1 - id: guo-system2 uri: https://www.json.cn predicates: - Path=/gateway - After=2021-06-21T09:38:00+08:00[Asia/Shanghai] #09:38之后的请求将从这里路由 filters: - StripPrefix=1 - id: guo-system3 uri: https://www.cnblogs.com/yun965861480/p/14898563.html predicates: - Path=/gateway #09:37到09:38之间的请求将从这里路由 - Between=2021-06-21T09:37:00+08:00[Asia/Shanghai], 2021-06-21T09:38:00+08:00[Asia/Shanghai] filters: - StripPrefix=1