巡乐会抽奖接口提交.-盲盒转盘抽奖方法重构。优化查询速度

This commit is contained in:
2025-09-12 18:36:29 +08:00
parent 2664da6628
commit fc33d1457b

View File

@@ -402,7 +402,9 @@ class BlindBoxTurntableGift extends Model
$xlh = []; $xlh = [];
if(!empty($xlh_ext) && $xlh_ext['inlet_bag_id'] == $gift_bag_id){ if(!empty($xlh_ext) && $xlh_ext['inlet_bag_id'] == $gift_bag_id){
// 巡乐会飘屏 // 巡乐会飘屏
db::name("vs_room")->where('id',$room_id)->setInc('xlh_periods_num',$current_xlh_periods_num);//加巡乐会条件次数 db::name("vs_room")->where('id',$room_id)->update([
'xlh_periods_num' => $current_xlh_periods_num
]);//加巡乐会条件次数
if($xlh_is_piao_ping == 1){ if($xlh_is_piao_ping == 1){
// 即将开始推送飘屏 // 即将开始推送飘屏
$text = $room['room_name']."的巡乐会即将开始,请大家尽快参与哦!"; $text = $room['room_name']."的巡乐会即将开始,请大家尽快参与哦!";