Skip to content

Commit

Permalink
音乐是否可用接口更新 获取精品歌单接口更新描述 Binaryify#1544
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Jul 17, 2022
1 parent 3e9f97c commit 71abe6f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# 更新日志
### 4.6.7 | 2022.07.17
- 音乐是否可用接口更新 #1544

- 获取精品歌单接口更新描述 #1544

### 4.6.6 | 2022.06.20
- npx 方式运行完善和增加文档说明

Expand Down
7 changes: 2 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ tags: 歌单标签
**可选参数 :** `cat`: tag, 比如 " 华语 "、" 古风 " 、" 欧美 "、" 流行 ", 默认为
"全部",可从精品歌单标签列表接口获取(`/playlist/highquality/tags`)

`limit`: 取出歌单数量 , 默认为 20
`limit`: 取出歌单数量 , 默认为 50

`before`: 分页参数,取上一页最后一个歌单的 `updateTime` 获取下一页数据

Expand Down Expand Up @@ -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:日本

Expand Down
5 changes: 3 additions & 2 deletions module/check_music.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
}

0 comments on commit 71abe6f

Please sign in to comment.