案件检查图片非必填
This commit is contained in:
parent
931a8f9593
commit
3c912e13ba
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user