mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
refactor: request无需传入请求方式
This commit is contained in:
@@ -6,10 +6,5 @@ module.exports = (query, request) => {
|
||||
limit: query.limit || 100,
|
||||
offset: query.offset || 0,
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`/api/program/toplist/v1`,
|
||||
data,
|
||||
createOption(query, 'weapi'),
|
||||
)
|
||||
return request(`/api/program/toplist/v1`, data, createOption(query, 'weapi'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user