巡乐会抽奖接口提交.-盲盒转盘抽奖方法重构。优化查询速度
This commit is contained in:
@@ -402,7 +402,9 @@ class BlindBoxTurntableGift extends Model
|
||||
$xlh = [];
|
||||
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){
|
||||
// 即将开始推送飘屏
|
||||
$text = $room['room_name']."的巡乐会即将开始,请大家尽快参与哦!";
|
||||
|
||||
Reference in New Issue
Block a user