mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-12-01 21:13:40 +08:00
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
|
// 听歌排行
|
||
|
|
||
|
module.exports = (query, request) => {
|
||
|
const data = {
|
||
|
uid: query.uid,
|
||
|
type: query.type || 0, // 1: 最近一周, 0: 所有时间
|
||
|
}
|
||
|
return request('POST', `https://music.163.com/weapi/v1/play/record`, data, {
|
||
|
crypto: 'weapi',
|
||
|
cookie: query.cookie,
|
||
|
proxy: query.proxy,
|
||
|
realIP: query.realIP,
|
||
|
})
|
||
|
}
|