mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
15 lines
384 B
JavaScript
15 lines
384 B
JavaScript
// 私信
|
|
|
|
module.exports = (query, request) => {
|
|
query.cookie.os = 'pc'
|
|
const data = {
|
|
id: query.playlist,
|
|
type: 'text',
|
|
msg: query.msg,
|
|
userIds: '[' + query.user_ids + ']'
|
|
}
|
|
return request(
|
|
'POST', `http://music.163.com/weapi/msg/private/send`, data,
|
|
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
|
|
)
|
|
} |