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) => {
|
||||
cellphone: query.phone,
|
||||
countrycode: query.countrycode,
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`/api/cellphone/existence/check`,
|
||||
data,
|
||||
createOption(query),
|
||||
)
|
||||
return request(`/api/cellphone/existence/check`, data, createOption(query))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user