From 36015b4881e028a63cda8534d6b001f035e819cf Mon Sep 17 00:00:00 2001 From: 86182 Date: Thu, 29 Sep 2022 19:37:00 +0800 Subject: [PATCH] user --- src/api/phase2/note.js | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/api/phase2/note.js b/src/api/phase2/note.js index fef48e8e..8b962c21 100644 --- a/src/api/phase2/note.js +++ b/src/api/phase2/note.js @@ -61,12 +61,6 @@ const history=function (noteId){ return ajax.get(baseURL,'/xboe/subgroup/m/noteinfo/modify/history?noteId='+noteId); } -/** - * 分页查询我发布的,收藏的,点赞的笔记 弃用 - * */ -const pagelist=function (query){ - return ajax.get(baseURL,'/xboe/subgroup/m/noteinfo/pagelist',query); -} /** * 我的笔记 @@ -123,6 +117,21 @@ const exportPdf=function (data){ return ajax.postJson(baseURL,'/xboe/subgroup/m/noteinfo/exportPdf',data); } +/** + * 我的笔记收藏和分享都是这一个,目前只有收藏 + * @param{ + * paegIndex + * pageSize + * dataType 1收藏 2分享 + * orderType 排序顺序 顺序倒叙 + * orderField 排序字段 + * keyword 关键字查询 + * } + * */ +const pagelist=function (query){ + return ajax.post('/xboe/subgroup/m/noteinfo/pagelist',query); +} + export default { save, detail,