You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
447 B
23 lines
447 B
// 智能播放
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
songId: query.id,
|
|
type: 'fromPlayOne',
|
|
playlistId: query.pid,
|
|
startMusicId: query.sid || query.id,
|
|
count: query.count || 1,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/weapi/playmode/intelligence/list`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|