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

This commit is contained in:
2025-02-27 10:41:47 +08:00
parent 7df84dcbc2
commit 61bf631c2d
5 changed files with 5 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ class Article
// 导出
xlsx_writer($data, $schema)->save('php://output');
exit;
}
// 获取文章导出数据