refactor: request无需传入请求方式

This commit is contained in:
overwriter
2024-07-31 08:55:35 +08:00
parent 0fc4057a81
commit c1011b8602
273 changed files with 146 additions and 903 deletions
+1 -6
View File
@@ -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))
}