mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
v3.9.0 新增 云盘歌曲删除, 热门话题, 电台 - 推荐类型, 电台 - 非热门类型, 电台 - 今日优选, 心动模式/智能播放等接口
This commit is contained in:
+7
-1
@@ -1,8 +1,14 @@
|
||||
// 首页轮播图
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const type = {
|
||||
0: 'pc',
|
||||
1: 'android',
|
||||
2: 'iphone',
|
||||
3: 'ipad'
|
||||
}[query.type || 0] || 'pc';
|
||||
return request(
|
||||
'POST', `https://music.163.com/api/v2/banner/get`, {clientType: "pc"},
|
||||
'POST', `https://music.163.com/api/v2/banner/get`, {clientType: type},
|
||||
{crypto: 'linuxapi', proxy: query.proxy}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user