巡乐会抽奖接口提交.-联调调试
This commit is contained in:
@@ -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();
|
$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');
|
$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'=>$blind_box_turntable_periods])->find();
|
$pan_xlh = db::name('vs_room_pan_xlh')->where(['room_id'=>$room_id,'periods'=>$xlh_periods])->find();
|
||||||
if(empty($pan_xlh)){
|
if(empty($pan_xlh)){
|
||||||
return ['code' => 0, 'msg' => '未开始', 'data' => null];
|
return ['code' => 0, 'msg' => '未开始', 'data' => null];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user