refactor: 修改xlsx导出

This commit is contained in:
2025-03-10 14:59:47 +08:00
parent 0d48fbba9f
commit 327a4bd90b
7 changed files with 20 additions and 13 deletions

View File

@@ -230,7 +230,7 @@ class ProductPurchaseLink
$data = $this->getExportLinkData();
/// 导出
xlsx_writer($data, $schema)->save('php://output');
return xlsx_writer($data, $schema);
}
private function getExportLinkData()
{