From 9e49adb546280bed388c253b597eebb5056d4c5b Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 17 Jun 2026 18:59:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=95=B0=E6=8D=AE=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E4=BC=98=E5=8C=964?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Exports/OperationLogExport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exports/OperationLogExport.php b/app/Exports/OperationLogExport.php index 5646ca6..92b7254 100644 --- a/app/Exports/OperationLogExport.php +++ b/app/Exports/OperationLogExport.php @@ -25,7 +25,7 @@ class OperationLogExport implements FromArray, WithHeadings $actionArr = AdminOperationLog::getActionArr(); AdminOperationLog::query()->orderBy('created_at', 'desc')->limit(100)->select( $columns - )->each( + )->get()->each( function ($item) use (&$data, &$index, $actionArr) { if ($item['user_id']) { $username = AdminUsers::getUsername($item['user_id']);