pk 闭麦

This commit is contained in:
2026-01-20 14:23:27 +08:00
parent 60a07ded50
commit a888adae97
3 changed files with 51 additions and 2 deletions

View File

@@ -67,4 +67,15 @@ class RoomPk extends BaseCom
$reslut = model('RoomPk')->refuse_pk($is_pk,$room_id);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
//PK闭麦
public function close_pk_mic()
{
$pk_id = input('pk_id', 0);
$type = input('type', 1);//1、关闭2、开启
$user_id = input('user_id', 0);
$reslut = model('RoomPk')->close_pk_mic($pk_id,$type,$user_id);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}
}