mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-30 04:23:41 +08:00
23 lines
409 B
JavaScript
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,
|
|
},
|
|
);
|
|
};
|