mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 06:32:09 +08:00
修复 /song/url
接口无法返回多个音乐数据的问题 #374
This commit is contained in:
parent
6c60c9d13d
commit
4b735daa41
@ -1,4 +1,6 @@
|
||||
# 更新日志
|
||||
### 3.0.4 | 2018.11.15
|
||||
- 修复 `/song/url` 接口无法返回多个音乐数据的问题
|
||||
|
||||
### 3.0.3 | 2018.11.09
|
||||
- 修复取消喜欢歌曲失败问题 [#360](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/360)
|
||||
|
@ -5,7 +5,7 @@ const crypto = require('crypto')
|
||||
module.exports = (query, request) => {
|
||||
if(!('MUSIC_U' in query.cookie)) query.cookie._ntes_nuid = crypto.randomBytes(16).toString("hex")
|
||||
const data = {
|
||||
ids: '[' + parseInt(query.id) + ']',
|
||||
ids: '[' + query.id + ']',
|
||||
br: parseInt(query.br || 999000)
|
||||
}
|
||||
return request(
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.0.3",
|
||||
"version": "3.0.4",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user