退出酒吧房小黑屋 通知另一个人也退出
This commit is contained in:
@@ -2012,6 +2012,8 @@ class Room extends Model
|
||||
$apply_type = 5;
|
||||
}elseif ($room_type == 2){
|
||||
$apply_type = 6;
|
||||
}elseif ($room_type == 6 && $room_label == 11){
|
||||
$apply_type = 11;
|
||||
}else{
|
||||
$apply_type = 1;
|
||||
}
|
||||
@@ -2081,6 +2083,8 @@ class Room extends Model
|
||||
if (isset($room_pit)) {
|
||||
model('api/RoomPit')->DownPit($user_id, $room_id, $room_pit['pit_number']);
|
||||
}
|
||||
}elseif ($apply_type == 11){
|
||||
model('api/Friend')->outRoom(0, $room_id);
|
||||
}else{
|
||||
//在麦位上 移除用户
|
||||
$room_pit = db::name('vs_room_pit')->where(['room_id' => $room_id, 'user_id' => $user_id])->find();
|
||||
|
||||
Reference in New Issue
Block a user