From d84e5d415146da7724759377dec45a53f92e99ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 30 Oct 2025 15:17:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=8D=E5=8D=96=E6=88=BF=20=E9=80=89?= =?UTF-8?q?=E7=A4=BC=E7=89=A9=E6=8E=92=E9=99=A4=E7=9B=B2=E7=9B=92=E7=AD=89?= =?UTF-8?q?=E8=B6=A3=E5=91=B3=E7=A4=BC=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Gift.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/api/model/Gift.php b/application/api/model/Gift.php index facd2a3..b838643 100644 --- a/application/api/model/Gift.php +++ b/application/api/model/Gift.php @@ -28,16 +28,17 @@ class Gift extends Model } //拉去礼物列表 - public function get_gift_list($label=0,$room_id=0) + public function get_gift_list($label = 0,$room_id = 0) { $map['delete_time'] = 0; $where['is_show'] = 1; - if ($label && $label !=99) { + if ($label && $label != 99) { $map['label'] = $label; } if ($label == 99) { $gift_price = get_system_config_value('room_love_auction_cion'); $where['gift_price'] = ['>',$gift_price]; + $where['label'] = ['<>',2]; } $is_open_blind_box_turntable = 0; if($room_id){