This commit is contained in:
2025-09-29 02:21:28 +08:00
parent 50f3579f6a
commit 6b50bfaeb4
3 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@ public class CustomRouteConfig {
RouteLocatorBuilder.Builder routesBuilder = builder.routes();
// 定义需要路由的服务列表
String[] serviceNames = {"sczx-user", "sczx-store", "sczx-car", "sczx-order", "sczx-sync", "sczx-singlepay"};
String[] serviceNames = {"sczx-user", "sczx-store", "sczx-car", "sczx-order", "sczx-sync", "sczx-singlepay", "sczx-notify"};
// 为每个服务添加路由规则(如果服务存在)
for (String serviceName : serviceNames) {

View File

@ -59,7 +59,7 @@ public class DynamicRouteConfig implements RouteDefinitionLocator {
List<RouteDefinition> routeDefinitions = new ArrayList<>();
// 定义需要路由的服务列表
String[] serviceNames = {"sczx-user", "sczx-store", "sczx-car", "sczx-order", "sczx-sync", "sczx-singlepay"};
String[] serviceNames = {"sczx-user", "sczx-store", "sczx-car", "sczx-order", "sczx-sync", "sczx-singlepay", "sczx-notify"};
// 为每个服务添加路由规则(如果服务存在)
for (String serviceName : serviceNames) {

View File

@ -44,6 +44,7 @@ public class AuthGlobalFilter implements GlobalFilter, Ordered {
"/zc/sync/**",
//支付服务都放行
"/zc/singlepay/**",
"/zc/notify/**",
"/zc/order/pubOrder/**",