增加支付服务路由

This commit is contained in:
2025-08-21 23:24:22 +08:00
parent 6f044e125a
commit 17c259958d

View File

@ -39,6 +39,9 @@ public class CustomRouteConfig {
.route("sczx-sync", r -> r.path("/zc/sync/**") .route("sczx-sync", r -> r.path("/zc/sync/**")
.filters(f -> f.rewritePath("/zc/sync/(?<segment>.*)", "/${segment}")) .filters(f -> f.rewritePath("/zc/sync/(?<segment>.*)", "/${segment}"))
.uri(uriWithCustomLoadBalance("sczx-sync"))) .uri(uriWithCustomLoadBalance("sczx-sync")))
.route("sczx-singlepay", r -> r.path("/zc/singlepay/**")
.filters(f -> f.rewritePath("/zc/singlepay/(?<segment>.*)", "/${segment}"))
.uri(uriWithCustomLoadBalance("sczx-singlepay")))
.build(); .build();
// .route("sczx_user", r -> r.path("/zc/user/**") // .route("sczx_user", r -> r.path("/zc/user/**")
// .uri("lb://sczx_user")) // .uri("lb://sczx_user"))