diff --git a/src/main/java/com/enjoy/controller/FaceController.java b/src/main/java/com/enjoy/controller/FaceController.java index 0daee231ba7a12aa43f93acdaf8042166c9e4096..e06c9c9f1b707182c2d67b4075bcb426582b7b8d 100644 --- a/src/main/java/com/enjoy/controller/FaceController.java +++ b/src/main/java/com/enjoy/controller/FaceController.java @@ -62,9 +62,9 @@ public class FaceController { SubImageInfoObject subImageList = face.getSubImageList(); if (subImageList != null && subImageList.getSubImageInfoObject().size() > 0) { for (SubImageInfo subImageInfo : subImageList.getSubImageInfoObject()) { - generateImage(subImageInfo.getData(), fileConfig.getProfile() + "\\" + deviceID + "\\" + nowTime + "\\", subImageInfo.getImageID() + ".jpg"); + generateImage(subImageInfo.getData(), fileConfig.getProfile() + "/" + deviceID + "/" + nowTime + "/", subImageInfo.getImageID() + ".jpg"); // 上传minIO - storageFile(fileConfig.getProfile() + "\\" + deviceID + "\\" + nowTime + "\\", subImageInfo.getImageID() + ".jpg"); + storageFile(fileConfig.getProfile() + "/" + deviceID + "/" + nowTime + "/", subImageInfo.getImageID() + ".jpg"); } } /*log.info("json: ", faceInfo);