Compare commits
2 Commits
751169fec3
...
4c70b4b09d
| Author | SHA1 | Date | |
|---|---|---|---|
| 4c70b4b09d | |||
| 5b916ecf27 |
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user