You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
764 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}
-
- id: crms_auth
uri: lb://dq-financial-crms
predicates:
- Path=/crms/**
filters:
- RewritePath=/crms/(?<segment>.*),/ $\{segment}
redis:
host:
port:
password:
database: 1
timeout: 60s