新增成功返回接口

This commit is contained in:
lSun 2025-11-05 13:26:34 +08:00
parent f2a8235639
commit dce1cf7d02
1 changed files with 2 additions and 2 deletions

View File

@ -123,11 +123,11 @@ public class DocumentServiceImpl implements DocumentService {
//删除 其及子节点
vo.setParentIds(vo.getId()+",");
mapper.delDocument(vo);
return AjaxResult.success("删除成功");
}catch (Exception e){
log.error(e.toString(),e);
}
return AjaxResult.error("添加失败");
return AjaxResult.error("删除失败");
}
/**