diff --git a/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java b/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java index d92f570c..51b9fbbf 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java @@ -370,7 +370,7 @@ public class AIWarningController extends BaseController { if (Tools.notEmpty(jsonObject.get("IMG_PATH").toString())) { String imgName = this.get32UUID() + ".jpg"; String filePath = Const.FILEPATHAITP + "/" + DateUtil.getDays(); - Base64Utils.decodeToFile(Const.basePath + filePath + "/" + imgName, jsonObject.get("IMG_PATH").toString().replace("data:image/jpeg;base64,", "")); + Base64Utils.decodeToFile(Smb.basePath + filePath + "/" + imgName, jsonObject.get("IMG_PATH").toString().replace("data:image/jpeg;base64,", "")); pd.put("IMG_PATH", filePath + "/" + imgName); //报警图片(路径) } else { map.put("returnCode", "1001"); //缺少同步信息