From 2fd4e58d528281862ef94e1d155a90b320ca96db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 4 Dec 2025 15:30:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=85=A5=E6=88=BF=E9=97=B4=20=20?= =?UTF-8?q?=E8=A1=A5=E5=8F=91=E4=B8=80=E6=9D=A1=E5=9C=A8=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Room.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/api/model/Room.php b/application/api/model/Room.php index 8abe1ed..7111eca 100644 --- a/application/api/model/Room.php +++ b/application/api/model/Room.php @@ -721,6 +721,10 @@ class Room extends Model 'updatetime' => time() ]); } + $tet['text'] = '回到房间'; + $tet['user_id'] = $user_id; + $tet['type'] = 1; + model('api/Chat')->sendMsg(1058,$room_id,$tet); //进入房间查看是否在房间内 修正数据 db::name('user')->where('id', $user_id)->update(['is_online' => 1]);