在服务器提示Fileinfo `failed identify data 0`(null)
代码如下:
$id = input('id');
$url = Fenbu::where('id', $id)->value('file_url');
$download = new \think\response\Download(config('app.down_url'). $url);
return $download->name('需求');但是当我改用header函数下载的时候一切正常,希望有人帮忙解惑,感谢! 最佳答案