From 61a9478bf30230e7e47b483f1b3a7698fa2d9f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sun, 28 Sep 2025 18:49:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=BF=9E=E5=90=8E=E6=88=BF=E9=97=B4?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/cron/controller/TenSeconds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/cron/controller/TenSeconds.php b/application/cron/controller/TenSeconds.php index f9eb53e..03d5e42 100644 --- a/application/cron/controller/TenSeconds.php +++ b/application/cron/controller/TenSeconds.php @@ -56,7 +56,7 @@ class TenSeconds protected function clear_offline_user() { $time = time() - 300; - $user_list = db::name('vs_user_in_room_bg')->field('id')->where('updatetime', '<=', $time)->select(); + $user_list = db::name('vs_user_in_room_bg')->where('updatetime', '<=', $time)->select(); if($user_list){ foreach ($user_list as $v){ //删除