巡乐会抽奖接口提交.-错误调试

This commit is contained in:
2025-08-29 14:30:16 +08:00
parent e8d0acbd74
commit 2b7a47989d

View File

@@ -268,7 +268,7 @@ class BlindBoxTurntableGift extends Model
$xlh_box = db::name('vs_gift_bag')->where('id',13)->find();
$xlh_ext = json_decode($xlh_box['ext'],true);
if($xlh_ext['inlet_bag_id'] == $gift_bag_id){
$room = Db::name('vs_room')->field('room_name,blind_box_turntable_periods')->where(['id' => $room_id, 'apply_status' => 2])->find();
$room = Db::name('vs_room')->field('room_name,blind_box_turntable_periods,xlh_periods_num')->where(['id' => $room_id, 'apply_status' => 2])->find();
if($room['xlh_periods_num'] == $xlh_ext['open_condition']['waiting_start_num']){
$room_name = Db::name('vs_room')->where(['id' => $room_id, 'apply_status' => 2])->value('room_name');
//即将开始推送飘屏