refactor: 修改xlsx导出

This commit is contained in:
2025-03-10 14:59:47 +08:00
parent 7701f5167d
commit 1825ac8ffb
7 changed files with 20 additions and 13 deletions

View File

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