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
View File
@@ -9,7 +9,6 @@ module.exports = (query, request) => {
3: 'ipad',
}[query.type || 0] || 'pc'
return request(
'POST',
`/api/v2/banner/get`,
{ clientType: type },
createOption(query),