国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

webman里面直接輸出phpspeadsheet導(dǎo)出的文件到php://output

roczyl
$writer = new Xlsx($spreadsheet);
$response = response();
ob_start();
$writer->save('php://output');
$c = ob_get_contents();
ob_end_clean();
$response->withHeaders([
    'Content-Type' => 'application/vnd.ms-excel',
    'Content-Disposition' => 'attachment;filename="xxx.xlsx"',
    'Cache-Control' => 'max-age=0',
])->withBody($c);
return $response;
1949 1 12
1個評論

軟飯工程師

搞了半天的excel 導(dǎo)出,只有你這個能正常跳轉(zhuǎn)到瀏覽器下載,非常nice
下面這個也不能使用
http://m.wtbis.cn/a/1394

  • 暫無評論
年代過于久遠(yuǎn),無法發(fā)表評論

roczyl

-180
積分
0
獲贊數(shù)
0
粉絲數(shù)
2022-08-03 加入
??