提交 4b735daa 编写于 作者: B binaryify

修复 `/song/url` 接口无法返回多个音乐数据的问题 #374

上级 6c60c9d1
# 更新日志
### 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(
......
{
"name": "NeteaseCloudMusicApi",
"version": "3.0.3",
"version": "3.0.4",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册