20 lines
478 B

spring:
cloud:
gateway:
routes:
# - id: test_route
# uri: https://www.baidu.com
# predicates:
# - Query=url,baidu
#
# - id: qq_route
# uri: https://www.qq.com
# predicates:
# - Query=url,qq
#
- id: hrms_route
uri: lb://dq-financial-hrms
predicates:
- Path=/api/hrms/**
filters:
- RewritePath=/api/(?<segment>.*),/$\{segment}