|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
package com.logpm.patch.config; |
|
|
|
|
|
|
|
|
|
import com.logpm.patch.interceptor.LocalServerLoginAccountsInterceptor; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import org.springblade.core.redis.cache.BladeRedis; |
|
|
|
|
import org.springblade.core.redis.lock.RedisLockClient; |
|
|
|
@ -22,7 +21,7 @@ public class InterceptorAdapterConfig implements WebMvcConfigurer {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void addInterceptors(InterceptorRegistry interceptorRegistry) { |
|
|
|
|
interceptorRegistry.addInterceptor(new LocalServerLoginAccountsInterceptor(redis,environment,redisLockClient)).addPathPatterns("/**").order(1); |
|
|
|
|
// interceptorRegistry.addInterceptor(new LocalServerLoginAccountsInterceptor(redis,environment,redisLockClient)).addPathPatterns("/**").order(1);
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|