YesPlayMusic/netease_api/module/msg_comments.js
2020-11-23 13:38:35 +08:00

23 lines
409 B
JavaScript

// 评论
module.exports = (query, request) => {
const data = {
beforeTime: query.before || '-1',
limit: query.limit || 30,
total: 'true',
uid: query.uid,
};
return request(
'POST',
`https://music.163.com/api/v1/user/comments/${query.uid}`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
);
};