mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
refactor: request无需传入请求方式
This commit is contained in:
@@ -6,10 +6,5 @@ module.exports = (query, request) => {
|
||||
id: query.id,
|
||||
br: parseInt(query.br || 999000),
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`/api/song/enhance/download/url`,
|
||||
data,
|
||||
createOption(query),
|
||||
)
|
||||
return request(`/api/song/enhance/download/url`, data, createOption(query))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user