notify
This commit is contained in:
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -44,6 +44,7 @@ public class AuthGlobalFilter implements GlobalFilter, Ordered {
|
||||
"/zc/sync/**",
|
||||
//支付服务都放行
|
||||
"/zc/singlepay/**",
|
||||
"/zc/notify/**",
|
||||
"/zc/order/pubOrder/**",
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user