v3.5.0 增加获取动态评论接口,增加点赞和评论对动态的支持

This commit is contained in:
binaryify
2019-03-14 16:03:56 +08:00
parent bcfdbe4406
commit a61c1250fc
8 changed files with 71 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
module.exports = (query, request) => {
const data = {
limit: query.limit || 20,
offset: query.offset || 0
};
return request(
"POST",
`https://music.163.com/weapi/v1/resource/comments/${query.threadId}`,
data,
{ crypto: "weapi", cookie: query.cookie, proxy: query.proxy }
);
};