mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
fix: /api/v3/song/detail限制拉取数量为1000,避免拉取失败
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = (query, request) => {
|
||||
s: query.s || 8,
|
||||
}
|
||||
//不放在data里面避免请求带上无用的数据
|
||||
let limit = parseInt(query.limit) || Infinity
|
||||
let limit = parseInt(query.limit) || 1000
|
||||
let offset = parseInt(query.offset) || 0
|
||||
|
||||
return request(`/api/v6/playlist/detail`, data, createOption(query)).then(
|
||||
|
||||
Reference in New Issue
Block a user