正式地址配置信息

limingyu-20240401-app登录曹实业判断修改
guoyuepeng 2024-02-29 17:13:22 +08:00
parent 1cb56a5c82
commit 874daa639b
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import com.zcloud.service.keyProjects.DeviceService;
import com.zcloud.service.keyProjects.KeyprojectHiddenService;
import com.zcloud.service.system.FHlogService;
import com.zcloud.util.*;
import lombok.extern.flogger.Flogger;
import org.apache.commons.lang.StringEscapeUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
@ -370,7 +371,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"); //缺少同步信息