YesPlayMusic/netease_api/module/playlist_delete.js
2021-03-06 22:07:16 +08:00

15 lines
317 B
JavaScript

// 删除歌单
module.exports = (query, request) => {
query.cookie.os = 'pc'
const data = {
ids: '[' + query.id + ']',
}
return request('POST', `https://music.163.com/weapi/playlist/remove`, data, {
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
})
}