refactor: 导入xlsx添加exit防止因debug导致导出文件有问题

This commit is contained in:
2025-02-27 10:41:47 +08:00
parent 0be323cfcf
commit 2d94f99852
5 changed files with 5 additions and 0 deletions

View File

@@ -336,6 +336,7 @@ class Product
// 导出
xlsx_writer($data, $schema)->save('php://output');
exit;
}
// 获取产品导出数据
private function getExportProductData()