isc的ai预警图片bug修复

This commit is contained in:
guoshengxiong 2025-10-14 09:52:45 +08:00
parent 047f7834af
commit 200c25c5b4

View File

@ -655,7 +655,7 @@ public class HikvisionCall {
record.setAlarmDesc(record.getLocation()); record.setAlarmDesc(record.getLocation());
record.setProjectSn(dev.getProjectSn()); record.setProjectSn(dev.getProjectSn());
record.setStatus(1); record.setStatus(1);
String relativePath = projectInfoBySn.getProjectName() + "/" + DateUtil.today(); String relativePath = projectInfoBySn.getProjectName() + "/" + DateUtil.today() + "/";
try { try {
record.setImageUrl(uploadFileService.uploadUrlReturnFileName(imageUrl, relativePath)); record.setImageUrl(uploadFileService.uploadUrlReturnFileName(imageUrl, relativePath));
} catch (Exception e) { } catch (Exception e) {