zhangf
2024-06-24 21362fd048558832cdcaca8ee957d2d7aa753be2
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
@@ -2,6 +2,8 @@
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;
@@ -31,6 +33,9 @@
    @Autowired
    private RepeatSubmitInterceptor repeatSubmitInterceptor;
    @Autowired
    private ThreeInstitutionInterceptor threeInstitutionInterceptor;
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry)
    {
@@ -56,6 +61,7 @@
    public void addInterceptors(InterceptorRegistry registry)
    {
        registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**");
        registry.addInterceptor(threeInstitutionInterceptor).addPathPatterns("/gov-server/receive/**");
    }
    /**