add: 更新swagger接口配置参数

This commit is contained in:
zyd
2022-10-12 23:10:35 +08:00
parent c266ddc4a1
commit 3c89f8bdbd
2 changed files with 6 additions and 1 deletions
@@ -112,6 +112,11 @@ public class WebMvcConfig implements WebMvcConfigurer {
//预警导出
addInterceptor.excludePathPatterns("/api/sys/EarlyWarning/exportWarning");
//企标文件检查接口
addInterceptor.excludePathPatterns("/api/lawss/sarBussionessStand/checkFileByEncrypt");
//标准文件检查接口
addInterceptor.excludePathPatterns("/api/sarStandardsInfo/sar-standards-info/checkFileByEncrypt");
//OCR回调存储文件
addInterceptor.excludePathPatterns("/api/ocr/OCRRestful/OcrHandleResult");
@@ -35,7 +35,7 @@ public class SwaggerConfig {
ParameterBuilder tokenPar = new ParameterBuilder();
List<Parameter> pars = new ArrayList<>();
tokenPar.name("Authorization")
tokenPar.name("token")
.description("令牌")
.modelRef(new ModelRef("string"))
.parameterType("header")