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
423 B
23 lines
423 B
4 years ago
|
// 更新歌曲顺序
|
||
|
|
||
|
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,
|
||
|
},
|
||
|
);
|
||
|
};
|