From 8f546f40c1f77001420640b2bc7ecfd5024afb54 Mon Sep 17 00:00:00 2001 From: 86182 Date: Wed, 21 Sep 2022 11:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E6=9F=A5=E8=AF=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/phase2/userfollow.js | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/api/phase2/userfollow.js b/src/api/phase2/userfollow.js index f7aff478..a2a5c60f 100644 --- a/src/api/phase2/userfollow.js +++ b/src/api/phase2/userfollow.js @@ -24,7 +24,8 @@ const remove=function (followId){ * 我关注的人列表 * @param{ * pageIndex - * pageSize + * pageSize, + * aid * } * */ const page=function (query){ @@ -35,7 +36,8 @@ const page=function (query){ * 我关注的人列表 * @param{ * pageIndex - * pageSize + * pageSize, + * aid * } * */ const mypage=function (query){ @@ -49,11 +51,23 @@ const ids=function (data){ return ajax.postJson('/xboe/subgroup/m/userfollow/ids',data); } +/** + * 被关注数 + * 关注数 + * @pram{ + * aid + * } + * */ +const counts=function (aid){ + return ajax.get('/xboe/subgroup/m/userfollow/counts?aid='+aid); +} + export default { save, remove, page, mypage, - ids + ids, + counts }