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

@@ -8,7 +8,7 @@ import { request } from '@/plugins/http-fetch';
export function listTaskHLR(query: Record<string, any>) {
return request({
url: '/trace/task/hlr/list',
method: 'get',
method: 'GET',
params: query,
});
}
@@ -21,7 +21,7 @@ export function listTaskHLR(query: Record<string, any>) {
export function delTaskHLR(ids: string | number) {
return request({
url: `/trace/task/hlr/${ids}`,
method: 'delete',
method: 'DELETE',
timeout: 60_000,
});
}
@@ -34,7 +34,7 @@ export function delTaskHLR(ids: string | number) {
export function startTaskHLR(data: Record<string, any>) {
return request({
url: '/trace/task/hlr/start',
method: 'post',
method: 'POST',
data: data,
timeout: 60_000,
});
@@ -48,7 +48,7 @@ export function startTaskHLR(data: Record<string, any>) {
export function stopTaskHLR(data: Record<string, any>) {
return request({
url: '/trace/task/hlr/stop',
method: 'post',
method: 'POST',
data: data,
timeout: 60_000,
});
@@ -62,7 +62,7 @@ export function stopTaskHLR(data: Record<string, any>) {
export function fileTaskHLR(data: Record<string, any>) {
return request({
url: '/trace/task/hlr/file',
method: 'post',
method: 'POST',
data: data,
});
}
@@ -75,7 +75,7 @@ export function fileTaskHLR(data: Record<string, any>) {
export function filePullTaskHLR(query: Record<string, any>) {
return request({
url: '/trace/task/hlr/filePull',
method: 'get',
method: 'GET',
params: query,
responseType: 'blob',
timeout: 60_000,