案件检查图片非必填

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("inspectOpinion", reportCaseInspectVO.getInspectOpinion());
params.put("grade", reportCaseInspectVO.getGrade()); params.put("grade", reportCaseInspectVO.getGrade());
if (StringUtils.isBlank(reportCaseInspectVO.getInspectPhotos())) { // if (StringUtils.isBlank(reportCaseInspectVO.getInspectPhotos())) {
throw new ParamsException("检查图片不能为空"); // throw new ParamsException("检查图片不能为空");
} // }
params.put("inspectPhotos", reportCaseInspectVO.getInspectPhotos()); params.put("inspectPhotos", reportCaseInspectVO.getInspectPhotos());
return reportCaseService.saveReportCaseInspect(token, params); return reportCaseService.saveReportCaseInspect(token, params);
} }

View File

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