踢下麦

This commit is contained in:
2025-12-03 17:13:33 +08:00
parent 2b6add741d
commit 9192b58ff5

View File

@@ -1228,7 +1228,7 @@ class RoomPit extends Model
return ['code' => 0, 'msg' => '师傅麦 此阶段不可操作', 'data' => null];
}
//在签约麦中不能下麦
$room_sign = db::name('vs_room_sign')->where(['room_id' => $room_id, 'sign_type' => 1,'sign_user_id' =>$user_id])->find();
$room_sign = db::name('vs_room_sign')->where(['room_id' => $room_id, 'sign_type' => 1,'sign_user_id' =>$accept_user_id])->find();
if($room_sign){
return ['code' => 0, 'msg' => '签约麦 不可下麦', 'data' => null];
}