mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-29 12:03:54 +08:00
22 lines
463 B
JavaScript
22 lines
463 B
JavaScript
// 新歌速递
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
areaId: query.type || 0, // 全部:0 华语:7 欧美:96 日本:8 韩国:16
|
|
// limit: query.limit || 100,
|
|
// offset: query.offset || 0,
|
|
total: true,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/weapi/v1/discovery/new/songs`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|