webman里面直接输出phpspeadsheet导出的文件到php://output

$writer = new Xlsx($spreadsheet); $response = response(); ob_start(); $writer->save('php://output'); $c = ob_get_contents(); ob_flush(); flush(); $response->withHeaders([ 'Content-Type' => 'applica...

roczyl 发表与 2022-08-18 160 浏览 0 评论

roczyl

30
积分
0
获赞数
0
粉丝数
2022-08-03 加入
🔝