踢下麦
This commit is contained in:
@@ -1228,7 +1228,7 @@ class RoomPit extends Model
|
|||||||
return ['code' => 0, 'msg' => '师傅麦 此阶段不可操作', 'data' => null];
|
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){
|
if($room_sign){
|
||||||
return ['code' => 0, 'msg' => '签约麦 不可下麦', 'data' => null];
|
return ['code' => 0, 'msg' => '签约麦 不可下麦', 'data' => null];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user