拍卖房 选礼物排除盲盒等趣味礼物

This commit is contained in:
2025-10-30 15:17:42 +08:00
parent 4dbe3c52a6
commit d84e5d4151

View File

@@ -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; $map['delete_time'] = 0;
$where['is_show'] = 1; $where['is_show'] = 1;
if ($label && $label !=99) { if ($label && $label != 99) {
$map['label'] = $label; $map['label'] = $label;
} }
if ($label == 99) { if ($label == 99) {
$gift_price = get_system_config_value('room_love_auction_cion'); $gift_price = get_system_config_value('room_love_auction_cion');
$where['gift_price'] = ['>',$gift_price]; $where['gift_price'] = ['>',$gift_price];
$where['label'] = ['<>',2];
} }
$is_open_blind_box_turntable = 0; $is_open_blind_box_turntable = 0;
if($room_id){ if($room_id){