新增用户历史评论接口 #1197

This commit is contained in:
binaryify
2021-04-09 10:28:42 +08:00
parent 8d5797b11c
commit bf8f98d726
5 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,22 @@
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.1.20'
const data = {
compose_reminder: 'true',
compose_hot_comment: 'true',
limit: query.limit || 10,
user_id: query.uid,
time: query.time || 0,
}
return request(
'POST',
`https://music.163.com/api/comment/user/comment/history`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}