|
|
|
@ -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("/**");
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|