案件检查图片非必填

This commit is contained in:
TS-QD1 2023-03-13 18:19:00 +08:00
parent 931a8f9593
commit 3c912e13ba
2 changed files with 5 additions and 5 deletions

View File

@ -449,9 +449,9 @@ public class ReportCaseAppController extends AbstractController {
params.put("inspectOpinion", reportCaseInspectVO.getInspectOpinion());
params.put("grade", reportCaseInspectVO.getGrade());
if (StringUtils.isBlank(reportCaseInspectVO.getInspectPhotos())) {
throw new ParamsException("检查图片不能为空");
}
// if (StringUtils.isBlank(reportCaseInspectVO.getInspectPhotos())) {
// throw new ParamsException("检查图片不能为空");
// }
params.put("inspectPhotos", reportCaseInspectVO.getInspectPhotos());
return reportCaseService.saveReportCaseInspect(token, params);
}

View File

@ -72,7 +72,7 @@ swagger:
# 文件
file:
uploadPath: /Users/wanggeng/Desktop/UploadFiles/
uploadPath: C:\Users\TS-QD1\Desktop\UploadFiles\
imageTypes: png,jpg,jpeg,gif,blob
videoTypes: mp4,rmvb
audioTypes: mp3,wmv,wav
@ -129,7 +129,7 @@ access-control:
# 日志
logging:
file: /Users/wanggeng/Desktop/UploadFiles/logs/servicecity/logs.log
file: C:\Users\TS-QD1\Desktop\UploadFiles\logs\servicecity\logs.log
level:
root: error
com.cm: debug