This commit is contained in:
mzl
2025-10-13 15:43:34 +08:00
parent a354a286da
commit ba9daaaa30
+1 -1
View File
@@ -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) {