|  | @@ -12,6 +12,7 @@ import java.util.Date;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import com.ym.mec.teacher.interceptor.MDCInterceptor;
 | 
	
		
			
				|  |  | +import com.ym.mec.teacher.interceptor.OperationLogInterceptor;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
 | 
	
		
			
				|  |  |  import org.springframework.context.annotation.Bean;
 | 
	
	
		
			
				|  | @@ -49,6 +50,9 @@ public class WebMvcConfig implements WebMvcConfigurer {
 | 
	
		
			
				|  |  |  	@Autowired
 | 
	
		
			
				|  |  |  	private MDCInterceptor mdcInterceptor;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +	@Autowired
 | 
	
		
			
				|  |  | +	private OperationLogInterceptor operationLogInterceptor;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	@Override
 | 
	
		
			
				|  |  |  	public void addInterceptors(InterceptorRegistry registry) {
 | 
	
		
			
				|  |  |  		List<String> includePathPatterns = new ArrayList<String>();
 | 
	
	
		
			
				|  | @@ -56,6 +60,8 @@ public class WebMvcConfig implements WebMvcConfigurer {
 | 
	
		
			
				|  |  |  		List<String> excludePathPatterns = new ArrayList<String>();
 | 
	
		
			
				|  |  |  		excludePathPatterns.add("/login");
 | 
	
		
			
				|  |  |  		registry.addInterceptor(mdcInterceptor).addPathPatterns(includePathPatterns).excludePathPatterns(excludePathPatterns);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +		registry.addInterceptor(operationLogInterceptor).addPathPatterns("/**").excludePathPatterns("/login");
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	/**
 |