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 listSGWCDataCDR(query: Record<string, any>) {
return request({
url: '/neData/sgwc/cdr/list',
method: 'get',
method: 'GET',
params: query,
timeout: 60_000,
});
@@ -22,7 +22,7 @@ export function listSGWCDataCDR(query: Record<string, any>) {
export function delSGWCDataCDR(cdrIds: string | number) {
return request({
url: `/neData/sgwc/cdr/${cdrIds}`,
method: 'delete',
method: 'DELETE',
timeout: 60_000,
});
}
@@ -35,7 +35,7 @@ export function delSGWCDataCDR(cdrIds: string | number) {
export function exportSGWCDataCDR(data: Record<string, any>) {
return request({
url: '/neData/sgwc/cdr/export',
method: 'post',
method: 'POST',
data,
responseType: 'blob',
timeout: 60_000,