mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 02:32:06 +08:00
refactor: request无需传入请求方式
This commit is contained in:
@ -6,10 +6,5 @@ module.exports = (query, request) => {
|
||||
limit: query.limit || 30,
|
||||
offset: query.offset || 0,
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`/api/v1/cloud/get`,
|
||||
data,
|
||||
createOption(query, 'weapi'),
|
||||
)
|
||||
return request(`/api/v1/cloud/get`, data, createOption(query, 'weapi'))
|
||||
}
|
||||
|
Reference in New Issue
Block a user