From 3b238b10eabf4ccb01af3955492c16b68526c9bd Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 27 五月 2025 14:35:03 +0800 Subject: [PATCH] 关注作者功能 --- api/video.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/api/video.js b/api/video.js index fd76f80..49e1772 100644 --- a/api/video.js +++ b/api/video.js @@ -47,3 +47,16 @@ data: data }); } + +/** + * 鍏虫敞浣滆�� + * + * @param params + */ + export function subscribe(authorId) { + return http.request({ + url: "/lmk/my-subscribe/subscribe/" + authorId, + method: Method.POST, + needToken: true + }); +} -- Gitblit v1.8.0