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

This commit is contained in:
2025-08-30 14:24:29 +08:00
parent ac0170149c
commit 5b916ecf27

View File

@@ -414,8 +414,8 @@ class BlindBoxTurntableGift extends Model
//巡乐会主礼物
$xlh_main_gift = db::name('vs_gift')->where('gid',$xlh_ext['locking_condition']['locking_gift_id'])->find();
//中奖用户
$blind_box_turntable_periods = db::name('vs_room')->where('id',$room_id)->value('blind_box_turntable_periods');
$pan_xlh = db::name('vs_room_pan_xlh')->where(['room_id'=>$room_id,'periods'=>$blind_box_turntable_periods])->find();
$xlh_periods = db::name('vs_room')->where('id',$room_id)->value('xlh_periods');
$pan_xlh = db::name('vs_room_pan_xlh')->where(['room_id'=>$room_id,'periods'=>$xlh_periods])->find();
if(empty($pan_xlh)){
return ['code' => 0, 'msg' => '未开始', 'data' => null];
}