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

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