From 5cb708f32942845b31253de8634b9f76c28a2990 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Mon, 3 Jun 2024 14:32:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=85=B3=E9=97=AD=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=E9=87=8D=E5=A4=8D=E6=8F=90=E4=BA=A4=E6=8B=A6?= =?UTF-8?q?=E6=88=AA=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/logpm/trunkline/config/InterceptorAdapterConfig.java | 5 ++--- .../com/logpm/warehouse/config/InterceptorAdapterConfig.java | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/config/InterceptorAdapterConfig.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/config/InterceptorAdapterConfig.java index 952ec1ba7..5e991316d 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/config/InterceptorAdapterConfig.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/config/InterceptorAdapterConfig.java @@ -1,6 +1,5 @@ package com.logpm.trunkline.config; -import com.logpm.trunkline.interceptor.ParameterCombinationInterceptor; import lombok.AllArgsConstructor; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; @@ -12,7 +11,7 @@ public class InterceptorAdapterConfig implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry interceptorRegistry) { - interceptorRegistry.addInterceptor(new ParameterCombinationInterceptor()) - .addPathPatterns("/**"); +// interceptorRegistry.addInterceptor(new ParameterCombinationInterceptor()) +// .addPathPatterns("/**"); } } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/config/InterceptorAdapterConfig.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/config/InterceptorAdapterConfig.java index 51ae9ed63..34240ea2d 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/config/InterceptorAdapterConfig.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/config/InterceptorAdapterConfig.java @@ -1,7 +1,6 @@ package com.logpm.warehouse.config; import com.logpm.warehouse.config.interceptor.LocalServerLoginAccountsInterceptor; -import com.logpm.warehouse.interceptor.ParameterCombinationInterceptor; import lombok.AllArgsConstructor; import org.springblade.core.redis.cache.BladeRedis; import org.springblade.core.redis.lock.RedisLockClient; @@ -25,8 +24,8 @@ public class InterceptorAdapterConfig implements WebMvcConfigurer { public void addInterceptors(InterceptorRegistry interceptorRegistry) { interceptorRegistry.addInterceptor(new LocalServerLoginAccountsInterceptor(redis,environment,redisLockClient)).addPathPatterns("/oldpush/**").order(1); - interceptorRegistry.addInterceptor(new ParameterCombinationInterceptor()) - .addPathPatterns("/**"); +// interceptorRegistry.addInterceptor(new ParameterCombinationInterceptor()) +// .addPathPatterns("/**"); } }