YesPlayMusic/netease_api/module/fm_trash.js

21 lines
374 B
JavaScript
Raw Normal View History

2021-03-06 22:04:18 +08:00
// 垃圾桶
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,
},
)
}