fix: 接口变更/请求方法为大写
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user