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

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

roczyl 发表与 2022-08-18 1531 浏览 1 评论

roczyl

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