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

This commit is contained in:
binaryify
2018-11-15 11:57:49 +08:00
parent 6c60c9d13d
commit 4b735daa41
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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(