测试:bug处理
This commit is contained in:
@@ -1140,6 +1140,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
$pan_xlh_num = $pan_xlh['num'] ?? 0;
|
||||
}
|
||||
$pan_xlh_num++;
|
||||
$pan_xlh_num_bf = $pan_xlh_num;
|
||||
cache::set('pan_xlh_num_'.$gift_bag_id.'_'.$pan_xlh['id'], $pan_xlh_num,$this->cache_time);
|
||||
$main_prize_updates[] = [
|
||||
'num' => $pan_xlh_num,
|
||||
@@ -1283,7 +1284,11 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
}
|
||||
// 8. 处理推送消息
|
||||
if ($is_zhong_jiang == 1) {
|
||||
$pan_xlh_num = cache::get('pan_xlh_num_'.$gift_bag_id.'_'.$pan_xlh['id']);
|
||||
if(cache::get('pan_xlh_num_'.$gift_bag_id.'_'.$pan_xlh['id'])){
|
||||
$pan_xlh_num = cache::get('pan_xlh_num_'.$gift_bag_id.'_'.$pan_xlh['id']);
|
||||
}else{
|
||||
$pan_xlh_num = $pan_xlh_num_bf;
|
||||
}
|
||||
$this->handlePrizeNotification($user_id, $room_id, $pan_xlh_num, $pan_xlh['id'],$ext['locking_condition']['locking_gift_id']);
|
||||
}
|
||||
//删除缓存
|
||||
|
||||
Reference in New Issue
Block a user