From 7cc5ebd58241195952062b2ad900d45338adf209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sat, 27 Sep 2025 14:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=BB=E7=BA=BF=E6=8E=A8=E9=80=81=20?= =?UTF-8?q?=E6=9A=82=E5=81=9C=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Tencent.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/api/model/Tencent.php b/application/api/model/Tencent.php index 34c512a..614df0a 100644 --- a/application/api/model/Tencent.php +++ b/application/api/model/Tencent.php @@ -946,12 +946,12 @@ class Tencent extends Model $text['type'] = 1; model('Chat')->sendMsg(1058,$room,$text); }elseif ($action == 'Logout'){ - Db::name('user')->where('id', $uid)->update(['is_online' => 0, 'updatetime' => time()]); - $room = Db::name('vs_room_visitor')->where('user_id', $uid)->order('id desc')->value('room_id'); - $text['text'] = '掉线!'; - $text['user_id'] = $uid; - $text['type'] = 2; - model('Chat')->sendMsg(1058,$room,$text); +// Db::name('user')->where('id', $uid)->update(['is_online' => 0, 'updatetime' => time()]); +// $room = Db::name('vs_room_visitor')->where('user_id', $uid)->order('id desc')->value('room_id'); +// $text['text'] = '掉线!'; +// $text['user_id'] = $uid; +// $text['type'] = 2; +// model('Chat')->sendMsg(1058,$room,$text); } return true; }