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 listNeFiles(query: Record<string, any>) {
return request({
url: '/ne/action/files',
method: 'get',
method: 'GET',
params: query,
});
}
@@ -21,7 +21,7 @@ export function listNeFiles(query: Record<string, any>) {
export function getNeFile(query: Record<string, any>) {
return request({
url: '/ne/action/pullFile',
method: 'get',
method: 'GET',
params: query,
responseType: 'blob',
timeout: 180_000,
@@ -32,7 +32,7 @@ export function getNeFile(query: Record<string, any>) {
export function getNeDirZip(data: Record<string, any>) {
return request({
url: '/ne/action/pullDirZip',
method: 'get',
method: 'GET',
params: data,
responseType: 'blob',
timeout: 60_000,
@@ -43,7 +43,7 @@ export function getNeDirZip(data: Record<string, any>) {
export function getNeViewFile(data: Record<string, any>) {
return request({
url: '/ne/action/viewFile',
method: 'get',
method: 'GET',
params: data,
timeout: 60_000,
});