|  | @@ -1,5 +1,6 @@
 | 
	
		
			
				|  |  |  package com.fs.core.config;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import com.fs.core.interceptor.LogInterceptor;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.context.annotation.Bean;
 | 
	
		
			
				|  |  |  import org.springframework.context.annotation.Configuration;
 | 
	
	
		
			
				|  | @@ -15,7 +16,7 @@ import com.fs.core.interceptor.RepeatSubmitInterceptor;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * 通用配置
 | 
	
		
			
				|  |  | - * 
 | 
	
		
			
				|  |  | + *
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  @Configuration
 | 
	
	
		
			
				|  | @@ -24,6 +25,9 @@ public class ResourcesConfig implements WebMvcConfigurer
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private RepeatSubmitInterceptor repeatSubmitInterceptor;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private LogInterceptor logInterceptor;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public void addResourceHandlers(ResourceHandlerRegistry registry)
 | 
	
		
			
				|  |  |      {
 | 
	
	
		
			
				|  | @@ -42,6 +46,8 @@ public class ResourcesConfig implements WebMvcConfigurer
 | 
	
		
			
				|  |  |      public void addInterceptors(InterceptorRegistry registry)
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**");
 | 
	
		
			
				|  |  | +        registry.addInterceptor(logInterceptor)
 | 
	
		
			
				|  |  | +                .addPathPatterns("/**");
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
	
		
			
				|  | @@ -63,4 +69,4 @@ public class ResourcesConfig implements WebMvcConfigurer
 | 
	
		
			
				|  |  |          source.registerCorsConfiguration("/**", config);
 | 
	
		
			
				|  |  |          return new CorsFilter(source);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | +}
 |