From e98c6cda518b630aaf7df29f2cd7ee7269f44a57 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 12 May 2025 17:14:31 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/tool/file.ts b/src/api/tool/file.ts index ecbcfd1c..6f4277d0 100644 --- a/src/api/tool/file.ts +++ b/src/api/tool/file.ts @@ -168,7 +168,7 @@ export async function uploadFileChunk( */ export function chunkCheck(identifier: string, fileName: string) { return request({ - url: '/file/chunk-check', + url: '/file/chunkCheck', method: 'POST', data: { identifier, fileName }, timeout: 60_000, @@ -188,7 +188,7 @@ export function chunkMerge( subPath: string = 'default' ) { return request({ - url: '/file/chunk-merge', + url: '/file/chunkMerge', method: 'POST', data: { identifier, fileName, subPath }, timeout: 60_000, @@ -202,7 +202,7 @@ export function chunkMerge( */ export function chunkUpload(data: FormData) { return request({ - url: '/file/chunk-upload', + url: '/file/chunkUpload', method: 'POST', data, dataType: 'form-data',