mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-29 12:03:54 +08:00
21 lines
374 B
JavaScript
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,
|
||
|
},
|
||
|
)
|
||
|
}
|