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

21 lines
374 B
JavaScript

// 垃圾桶
module.exports = (query, request) => {
const data = {
songId: query.id,
}
return request(
'POST',
`https://music.163.com/weapi/radio/trash/add?alg=RT&songId=${
query.id
}&time=${query.time || 25}`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}