diff --git a/src/main/java/com/cm/systemcity/controller/app/reportcase/ReportCaseAppController.java b/src/main/java/com/cm/systemcity/controller/app/reportcase/ReportCaseAppController.java index c6e46b8..0dcbbb7 100755 --- a/src/main/java/com/cm/systemcity/controller/app/reportcase/ReportCaseAppController.java +++ b/src/main/java/com/cm/systemcity/controller/app/reportcase/ReportCaseAppController.java @@ -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); } diff --git a/src/main/resources/application-btgxq.yml b/src/main/resources/application-btgxq.yml index 924a875..a55e148 100644 --- a/src/main/resources/application-btgxq.yml +++ b/src/main/resources/application-btgxq.yml @@ -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