YesPlayMusic/netease_api/module/msg_private_history.js
2021-03-06 22:07:16 +08:00

22 lines
395 B
JavaScript

// 私信内容
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,
},
)
}