fix: 多线程下载文件损坏的问题

This commit is contained in:
kuaifan
2025-01-15 15:27:39 +08:00
parent 34ffd96c86
commit a07913181a
4 changed files with 79 additions and 49 deletions

View File

@@ -1702,7 +1702,7 @@ class DialogController extends AbstractController
}
//
$filePath = public_path($array['path']);
return Base::BinaryFileResponse($filePath, $array['name']);
return Base::DownloadFileResponse($filePath, $array['name']);
}
/**