From b627b6aa83c61d8823e1e0ffa6631036fea53a8c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 12 May 2025 19:16:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=88=87=E7=89=87=E7=9B=B8=E5=85=B3API=E7=9A=84URL=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tool/file.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/tool/file.ts b/src/api/tool/file.ts index 6f4277d0..6f703bf0 100644 --- a/src/api/tool/file.ts +++ b/src/api/tool/file.ts @@ -76,7 +76,7 @@ export async function downloadFileChunk( */ export function uploadFile(data: FormData) { return request({ - url: '/file/upload', + url: '/file/upload2', method: 'POST', data, dataType: 'form-data', @@ -260,7 +260,7 @@ export async function delFile(path: string, fileName: string) { */ export function transferStaticFile(data: Record) { return request({ - url: `/file/transfer-static-file`, + url: `/file/transferStaticFile`, method: 'POST', data, timeout: 60_000,