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

16 lines
335 B
JavaScript

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