重连后房间处理

This commit is contained in:
2025-09-28 18:16:58 +08:00
parent d9daa2410f
commit 56c919cb90
2 changed files with 5 additions and 2 deletions

View File

@@ -2549,6 +2549,8 @@ class Room extends Model
return ['code' => 1, 'msg' => '操作成功', 'data' => null];
}
//用户在房间内切后台保留机制
public function user_in_room_background($user_id,$room_id,$type)
{
if(!$room_id){