修复电台 banner 接口无数据问题 #601,更新排行榜 #602,新增电台排行榜,新晋电台榜,热门电台榜接口 #604

This commit is contained in:
binaryify
2019-10-16 15:02:05 +08:00
parent c0e4b39938
commit b9f02d6b30
8 changed files with 73 additions and 1 deletions

View File

@ -0,0 +1,12 @@
// 电台节目榜
module.exports = (query, request) => {
const data = {
limit: query.limit || 100,
offset: query.offset || 0
}
return request(
'POST', `https://music.163.com/api/program/toplist/v1`, data,
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
)
}