YepMusic/netease_api/module/msg_private_history.js

22 lines
395 B

// 私信内容
module.exports = (query, request) => {
const data = {
userId: query.uid,
limit: query.limit || 30,
time: query.before || 0,
total: 'true',
}
return request(
'POST',
`https://music.163.com/api/msg/private/history`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}