Merge branch 'fix/release_web_yjp' into develop

This commit is contained in:
yujiangping
2026-03-03 15:02:20 +08:00
4 changed files with 10 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ export const uploadFile = async (data: FormData, options?: UploadFileOptions) =>
// 下载文件
export const downloadFile = async (fileId: string, fileName?: string) => {
const token = cookieUtils.get('authToken');
const url = `${apiPrefix}/files/${fileId}`;
const url = `/api/files/${fileId}`;
try {
const response = await fetch(url, {