mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-26 02:09:51 +08:00
21 lines
382 B
JavaScript
21 lines
382 B
JavaScript
// 推荐节目
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
cateId: query.type,
|
|
limit: query.limit || 10,
|
|
offset: query.offset || 0,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/weapi/program/recommend/v1`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|