mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-12-01 13:03:42 +08:00
20 lines
370 B
JavaScript
20 lines
370 B
JavaScript
// 云盘数据详情
|
|
|
|
module.exports = (query, request) => {
|
|
const id = query.id.replace(/\s/g, '').split(',')
|
|
const data = {
|
|
songIds: id,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/weapi/v1/cloud/get/byids`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|