寻乐会bug修改
This commit is contained in:
@@ -199,7 +199,10 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
'draw_times' => $this->getCachedPanDrawTimes($gift_bag_id),
|
||||
'periods' => $periods,
|
||||
];
|
||||
$this->getCachedXlhPeriodsNum("set");//添加寻乐会条件次数
|
||||
$xlh_ext = $this->getCachedGiftBag(13);
|
||||
if(!empty($xlh_ext) && $xlh_ext['inlet_bag_id'] == $gift_bag_id) {
|
||||
$this->getCachedXlhPeriodsNum("set");//添加寻乐会条件次数
|
||||
}
|
||||
$pan_total_draw_times = $this->getCachedPanDrawTimes($gift_bag_id,"set"); // 总抽奖次数
|
||||
}
|
||||
}
|
||||
@@ -257,7 +260,10 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
$pan_total_draw_times = $this->getCachedPanDrawTimes($gift_bag_id,"set"); //总抽奖次数+1
|
||||
$pan_total_remaining = $this->getCachedPanTotalRemaining($gift_bag_id,"set"); //剩余数量-1
|
||||
// 更新房间巡乐会次数
|
||||
$this->getCachedXlhPeriodsNum("set");
|
||||
$xlh_ext = $this->getCachedGiftBag(13);
|
||||
if(!empty($xlh_ext) && $xlh_ext['inlet_bag_id'] == $gift_bag_id) {
|
||||
$this->getCachedXlhPeriodsNum("set");//添加寻乐会条件次数
|
||||
}
|
||||
// 更新Alias表
|
||||
$this->updateAliasTable($aliasTableForNew, $selectedGift['id']);
|
||||
$this->updateCachedGiftBagDetail($gift_bag_id, $selectedGift['id']); //更新缓存中礼物的数量
|
||||
|
||||
Reference in New Issue
Block a user