|  |  | 
 |  |  | package com.vincent.rsf.server.common.config; | 
 |  |  |  | 
 |  |  | import com.vincent.rsf.server.common.constant.Constants; | 
 |  |  | import com.vincent.rsf.server.common.interceptor.severlet.DynamicFieldsInterceptor; | 
 |  |  | import com.vincent.rsf.server.common.utils.Http; | 
 |  |  | import org.springframework.context.annotation.Bean; | 
 |  |  | import org.springframework.context.annotation.Configuration; | 
 |  |  | 
 |  |  |         registry.addInterceptor(getAsyncHandlerInterceptor()) | 
 |  |  |                 .addPathPatterns("/**") | 
 |  |  |                 .excludePathPatterns("/swagger-resources/**", "/webjars/**","/erp/**", "/v2/**","/v3/**","/doc.html/**", "/swagger-ui.html/**"); | 
 |  |  |  | 
 |  |  |         registry.addInterceptor(dynamicFieldsInterceptor()) | 
 |  |  |                 .addPathPatterns("/**") | 
 |  |  |                 .excludePathPatterns("/swagger-resources/**", | 
 |  |  |                         "/webjars/**", | 
 |  |  |                         "/erp/**", | 
 |  |  |                         "/v2/**", | 
 |  |  |                         "/v3/**", | 
 |  |  |                         "/doc.html/**", | 
 |  |  |                         "/swagger-ui.html/**"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Bean | 
 |  |  |     public DynamicFieldsInterceptor dynamicFieldsInterceptor() { | 
 |  |  |         return new DynamicFieldsInterceptor(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Bean | 
 |  |  |     public AsyncHandlerInterceptor getAsyncHandlerInterceptor() { |