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//localhost:8080/api # - id: crms_route uri: http://localhost:8000/dq-financial-crms predicates: - Path=/api-crms/** filters: - RewritePath=/api-crms/(?.*), /$\{segment} - id: hrms_route uri: http://localhost:7000/dq-financial-hrms predicates: - Path=/api-hrms/** filters: - RewritePath=/api-hrms/(?.*), /$\{segment} - id: hrms_auth_route uri: http://localhost:9000/dq-financial-hrms-auth #lb://dq-financial-hrms-auth predicates: - Path=/apiHrmsAuth/** filters: - RewritePath=/apiHrmsAuth/(?.*), /$\{segment}