fix: 接口变更/请求方法为大写

This commit is contained in:
TsMask
2025-02-20 10:42:34 +08:00
parent 8bfa73a67a
commit 7322759545
83 changed files with 568 additions and 1388 deletions

View File

@@ -4,7 +4,7 @@ import { request } from '@/plugins/http-fetch';
export function iperfV(data: Record<string, string>) {
return request({
url: '/tool/iperf/v',
method: 'get',
method: 'GET',
params: data,
});
}
@@ -13,7 +13,7 @@ export function iperfV(data: Record<string, string>) {
export function iperfI(data: Record<string, string>) {
return request({
url: '/tool/iperf/i',
method: 'post',
method: 'POST',
data: data,
timeout: 60_000,
});