mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-05 00:13:11 +08:00
23 lines
420 B
JavaScript
23 lines
420 B
JavaScript
![]() |
// 更新歌曲顺序
|
||
|
|
||
|
module.exports = (query, request) => {
|
||
|
const data = {
|
||
|
pid: query.pid,
|
||
|
trackIds: query.ids,
|
||
|
op: 'update',
|
||
|
}
|
||
|
|
||
|
return request(
|
||
|
'POST',
|
||
|
`http://interface.music.163.com/api/playlist/manipulate/tracks`,
|
||
|
data,
|
||
|
{
|
||
|
crypto: 'weapi',
|
||
|
cookie: query.cookie,
|
||
|
proxy: query.proxy,
|
||
|
url: '/api/playlist/desc/update',
|
||
|
realIP: query.realIP,
|
||
|
},
|
||
|
)
|
||
|
}
|