|
|
@@ -1,5 +1,6 @@
|
|
|
package com.zksy.framework.config;
|
|
|
|
|
|
+import com.zksy.framework.interceptor.ComfirmClientInterceptor;
|
|
|
import com.zksy.framework.interceptor.RepeatSubmitInterceptor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -23,6 +24,8 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
public class ResourcesConfig implements WebMvcConfigurer {
|
|
|
@Autowired
|
|
|
private RepeatSubmitInterceptor repeatSubmitInterceptor;
|
|
|
+ @Autowired
|
|
|
+ private ComfirmClientInterceptor comfirmClientInterceptor;
|
|
|
|
|
|
/**
|
|
|
* 在配置文件中配置的文件保存路径
|
|
|
@@ -63,6 +66,29 @@ public class ResourcesConfig implements WebMvcConfigurer {
|
|
|
registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**").
|
|
|
excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**", "/doc.html", "/static/**").
|
|
|
excludePathPatterns(localFileServerMappingPath + "/**");
|
|
|
+ registry.addInterceptor(comfirmClientInterceptor).addPathPatterns(
|
|
|
+ //get
|
|
|
+ "/crmNewsRelease/findByPage",
|
|
|
+ "/crmNewsRelease/getList",
|
|
|
+ "/crmNewsRelease/getById/{borrowId}",
|
|
|
+ "/system/dict/data/type/{dictType}",
|
|
|
+ "/crmHighTechZoneEnterprises/getCreditScoreList",
|
|
|
+ "/crmCreditRedlistInfo/findByPage",
|
|
|
+ "/crmDishonestExecutor/findByPage",
|
|
|
+ "/crmSeriouslyDishonestSubjects/findByPage",
|
|
|
+ "/crmAdministrativeLicense/findByPage",
|
|
|
+ "/crmAdministrativePenalty/findByPage",
|
|
|
+ "/crmBusinessLicenseInformation/findByPage",
|
|
|
+ "/crmBusinessLicenseInformation/getById/{borrowId}",
|
|
|
+ "/commonFile/deleteFileById",
|
|
|
+ "/owSelfReporting/downloadTemplateWord",
|
|
|
+ "/owSelfReporting/checkInformationByUnicode",
|
|
|
+ "/crmHighTechZoneEnterprises/getCreditScoreMostDetailsByUniCode",
|
|
|
+ //post
|
|
|
+ "/crmComplain/save",
|
|
|
+ "/owSelfReporting/save",
|
|
|
+ "/owLeavingMessage/save"
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
/**
|