退出房间

This commit is contained in:
2025-12-03 10:44:31 +08:00
parent a92b5d85f6
commit 83f404cb9e

View File

@@ -1198,7 +1198,9 @@ class Room extends Model
public function quit_room($uid, $room_id,$user_id,$type = 0)
{
//拍卖位交友过程中1-6号麦位签约过程中签约麦位不能退出房间
if(!$room_id){
return ['code' => 0, 'msg' => '请选择房间', 'data' => null];
}
if($user_id == 0){
$nickname = db::name('user')->where('id', $uid)->value('nickname');
}else{