| | |
| | | |
| | | import java.io.File; |
| | | import java.util.concurrent.TimeUnit; |
| | | |
| | | import com.ruoyi.framework.interceptor.ThreeInstitutionInterceptor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.context.annotation.Bean; |
| | |
| | | @Autowired |
| | | private RepeatSubmitInterceptor repeatSubmitInterceptor; |
| | | |
| | | @Autowired |
| | | private ThreeInstitutionInterceptor threeInstitutionInterceptor; |
| | | |
| | | @Override |
| | | public void addResourceHandlers(ResourceHandlerRegistry registry) |
| | | { |
| | |
| | | public void addInterceptors(InterceptorRegistry registry) |
| | | { |
| | | registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**"); |
| | | registry.addInterceptor(threeInstitutionInterceptor).addPathPatterns("/gov-server/receive/**"); |
| | | } |
| | | |
| | | /** |