mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
增加私信专辑功能
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// 私信专辑
|
||||
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = 'ios'
|
||||
query.cookie.appver = '8.1.20'
|
||||
const data = {
|
||||
id: query.id,
|
||||
msg: query.msg || '',
|
||||
type: 'album',
|
||||
userIds: '[' + query.user_ids + ']',
|
||||
}
|
||||
return request('POST', `https://music.163.com/api/msg/private/send`, data, {
|
||||
crypto: 'api',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user