mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
音乐是否可用接口更新 获取精品歌单接口更新描述 #1544
This commit is contained in:
parent
3e9f97cdb8
commit
71abe6faaf
@ -1,4 +1,9 @@
|
||||
# 更新日志
|
||||
### 4.6.7 | 2022.07.17
|
||||
- 音乐是否可用接口更新 #1544
|
||||
|
||||
- 获取精品歌单接口更新描述 #1544
|
||||
|
||||
### 4.6.6 | 2022.06.20
|
||||
- npx 方式运行完善和增加文档说明
|
||||
|
||||
|
@ -1322,7 +1322,7 @@ tags: 歌单标签
|
||||
**可选参数 :** `cat`: tag, 比如 " 华语 "、" 古风 " 、" 欧美 "、" 流行 ", 默认为
|
||||
"全部",可从精品歌单标签列表接口获取(`/playlist/highquality/tags`)
|
||||
|
||||
`limit`: 取出歌单数量 , 默认为 20
|
||||
`limit`: 取出歌单数量 , 默认为 50
|
||||
|
||||
`before`: 分页参数,取上一页最后一个歌单的 `updateTime` 获取下一页数据
|
||||
|
||||
@ -2431,14 +2431,11 @@ pc: 云盘歌曲信息,如果不存在该字段,则为非云盘歌曲
|
||||
### 新碟上架
|
||||
|
||||
说明 : 调用此接口 , 可获取新碟上架列表 , 如需具体音乐信息需要调用获取专辑列表接
|
||||
口 `/album` , 然后传入 id, 如 `/album?id=32311&limit=30`
|
||||
口 `/album` , 然后传入 id, 如 `/album?id=32311`
|
||||
|
||||
**可选参数 :**
|
||||
|
||||
`limit`: 取出数量 , 默认为 50
|
||||
|
||||
`offset`: 偏移数量 , 用于分页 , 如 :( 页数 -1)\*50, 其中 50 为 limit 的值 , 默认
|
||||
为 0
|
||||
|
||||
`area`: ALL:全部,ZH:华语,EA:欧美,KR:韩国,JP:日本
|
||||
|
||||
|
@ -26,9 +26,10 @@ module.exports = (query, request) => {
|
||||
response.body = { success: true, message: 'ok' }
|
||||
return response
|
||||
} else {
|
||||
response.status = 404
|
||||
// response.status = 404
|
||||
response.body = { success: false, message: '亲爱的,暂无版权' }
|
||||
return Promise.reject(response)
|
||||
return response
|
||||
// return Promise.reject(response)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user