添加私信音乐接口 #1016,添加最近联系人接口,修复用户动态数量不准确问题 #1010,修复 cloudsearch 接口分页问题 #1015

This commit is contained in:
binaryify
2020-11-07 17:18:25 +08:00
parent 65e32eec77
commit 0e1c7eec3d
8 changed files with 93 additions and 29 deletions
+17
View File
@@ -0,0 +1,17 @@
// 私信歌曲
module.exports = (query, request) => {
// query.cookie.os = 'pc'
const data = {
id: query.id,
msg: query.msg || '',
type: 'song',
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,
})
}