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.
28 lines
545 B
28 lines
545 B
4 years ago
|
// 听歌打卡
|
||
|
|
||
|
module.exports = (query, request) => {
|
||
|
const data = {
|
||
|
logs: JSON.stringify([
|
||
|
{
|
||
|
action: 'play',
|
||
|
json: {
|
||
|
download: 0,
|
||
|
end: 'playend',
|
||
|
id: query.id,
|
||
|
sourceId: query.sourceid,
|
||
|
time: query.time,
|
||
|
type: 'song',
|
||
|
wifi: 0,
|
||
|
},
|
||
|
},
|
||
|
]),
|
||
|
}
|
||
|
|
||
|
return request('POST', `https://music.163.com/weapi/feedback/weblog`, data, {
|
||
|
crypto: 'weapi',
|
||
|
cookie: query.cookie,
|
||
|
proxy: query.proxy,
|
||
|
realIP: query.realIP,
|
||
|
})
|
||
|
}
|