From e2d229241d48c6c5389677e2f9b003aae1969ca6 Mon Sep 17 00:00:00 2001 From: zhaoyu Date: Thu, 14 Mar 2024 14:47:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=96=87=E4=BB=B6=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zcloud/controller/bus/ImgFilesController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/zcloud/controller/bus/ImgFilesController.java b/src/main/java/com/zcloud/controller/bus/ImgFilesController.java index ddd3eaec..a7f61476 100644 --- a/src/main/java/com/zcloud/controller/bus/ImgFilesController.java +++ b/src/main/java/com/zcloud/controller/bus/ImgFilesController.java @@ -7,6 +7,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import com.alibaba.fastjson.JSON; import com.zcloud.aspect.DockAnnotation; import com.zcloud.util.*; import org.apache.commons.lang.StringUtils; @@ -247,6 +248,7 @@ public class ImgFilesController extends BaseController { */ @RequestMapping(value="/delete") @ResponseBody + @DockAnnotation public Object delete() throws Exception{ Map map = new HashMap(); String errInfo = "success"; @@ -256,6 +258,7 @@ public class ImgFilesController extends BaseController { File file = new File(PathUtil.getProjectpath()+pd.getString("FILEPATH")); file.delete(); imgfilesService.delete(pd); + map.put("dockData", JSON.toJSONString(pd)); map.put("result", errInfo); //θΏ”ε›žη»“ζžœ return map; }