v3.6.0 调整动态评论获取接口 url,使之和其他评论获取接口更统一

This commit is contained in:
binaryify
2019-03-15 15:12:46 +08:00
parent a61c1250fc
commit d225437271
4 changed files with 6 additions and 3 deletions

12
module/comment_event.js Normal file
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 }
);
};