From ba9daaaa3037d753f99fab324e31a70d74a70a56 Mon Sep 17 00:00:00 2001 From: mzl Date: Mon, 13 Oct 2025 15:43:34 +0800 Subject: [PATCH] st --- app/process/CheckWeb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/process/CheckWeb.php b/app/process/CheckWeb.php index 3cdfe77..6ae9675 100644 --- a/app/process/CheckWeb.php +++ b/app/process/CheckWeb.php @@ -23,7 +23,7 @@ class CheckWeb } new Crontab('*/3 * * * * *', function(){ - $userIds = User::where('status', 1)->toArray(); + $userIds = User::where('status', 1)->pluck('id')->toArray(); foreach ($userIds as $userId) { $status = Redis::hGet('user:check:sign'.$userId, 'status'); if ($status) {