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; }