退出房间
This commit is contained in:
@@ -1180,6 +1180,8 @@ class Room extends Model
|
||||
//$type 0-正常退出 1-被踢出房间 2-脚本清理
|
||||
public function quit_room($uid, $room_id,$user_id,$type = 0)
|
||||
{
|
||||
//拍卖位,交友过程中1-6号麦位,签约过程中签约麦位不能退出房间
|
||||
|
||||
if($user_id == 0){
|
||||
$nickname = db::name('user')->where('id', $uid)->value('nickname');
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user