交友退出私密屋
This commit is contained in:
@@ -1098,6 +1098,8 @@ class Room extends Model
|
||||
$apply_type = 2;
|
||||
}elseif ($room_type == 7){//交友房 再开始阶段在麦位上不下麦
|
||||
$apply_type = 3;
|
||||
}elseif($room_type == 6 && $room_label == 5){ //交友私密屋
|
||||
$apply_type = 4;
|
||||
}
|
||||
|
||||
if($apply_type == 1){
|
||||
@@ -1132,6 +1134,8 @@ class Room extends Model
|
||||
model('api/RoomPit')->DownPit($user_id, $room_id, $room_pit['pit_number']);
|
||||
}
|
||||
}
|
||||
}elseif ($apply_type == 4){
|
||||
model('api/Friend')->outRoom($uid, $room_id);
|
||||
}
|
||||
else{
|
||||
//在麦位上 移除用户
|
||||
|
||||
Reference in New Issue
Block a user