This commit is contained in:
2025-12-22 09:13:52 +08:00
parent 8191237775
commit 6f32ca2b08
2 changed files with 27 additions and 7 deletions

View File

@@ -128,6 +128,16 @@ class Room extends BaseCom
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
//进入房间前的判断
public function before_join_room_check()
{
$room_id = input('room_id', 0);
$reslut = model('Room')->before_join_room_check($this->uid, $room_id);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
/*
* 进入房间
*/