perf: 修复iOS下载中文名乱码的问题

This commit is contained in:
kuaifan
2024-11-12 10:37:56 +08:00
parent 508aaef303
commit 9bc3e56c79
4 changed files with 65 additions and 40 deletions

View File

@@ -1819,7 +1819,7 @@ class ProjectController extends AbstractController
}
//
$filePath = public_path($file->getRawOriginal('path'));
return Base::streamDownload($filePath, $file->name);
return Base::BinaryFileResponse($filePath, $file->name);
}
/**