From 1ed607a1db57bcd39a9fbd581451d22710831133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 3 Dec 2025 13:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=88=BF=E9=97=B4?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Room.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/application/api/model/Room.php b/application/api/model/Room.php index 068b62a..3d43b6b 100644 --- a/application/api/model/Room.php +++ b/application/api/model/Room.php @@ -1933,7 +1933,8 @@ class Room extends Model //开启事务 db::startTrans(); $data = []; - if($type == 1 || $type == 3 || $type == 4 || $type == 8 || $type == 9){ + //1-交友,3、4、8-不要了 + if($type == 1 || $type == 3 || $type == 4 || $type == 8){ $data = [ 'label_id' => 1, 'type_id' => $type, @@ -1941,6 +1942,7 @@ class Room extends Model 'is_song' => 1 ]; } + //拍卖 if($type == 2){ $data = [ 'label_id' => 3, @@ -1949,7 +1951,7 @@ class Room extends Model 'is_song' => 1 ]; } - //交友房(互娱) + //(互娱) if($type == 7){ $data = [ 'label_id' => 5, @@ -1958,6 +1960,15 @@ class Room extends Model ]; } + //点唱房 (让别人唱歌) + if($type == 9){ + $data = [ + 'label_id' => 6, + 'type_id' => $type, + 'room_up_pit_type' => 1, + ]; + } + //签约房 if($type == 10){ $data = [ 'label_id' => 7,