盲盒转盘 优化-飘屏处理 提交

This commit is contained in:
2025-10-29 20:02:04 +08:00
parent 8b12d876a0
commit b47d9e7471

View File

@@ -917,10 +917,10 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
$xlhPeriodsNum = $this->getCachedXlhPeriodsNum("get"); $xlhPeriodsNum = $this->getCachedXlhPeriodsNum("get");
//上一次的数量 //上一次的数量
$xlhLastPeriodsNum = $xlhPeriodsNum-$total_num; $xlhLastPeriodsNum = $xlhPeriodsNum-$total_num;
if($xlhLastPeriodsNum < $xlhPeriodsNum && $xlhPeriodsNum >= $xlh_ext['open_condition']['waiting_start_num']){ if($xlhLastPeriodsNum < $xlh_ext['open_condition']['waiting_start_num'] && $xlhPeriodsNum >= $xlh_ext['open_condition']['waiting_start_num']){
$xlhIsPiaoPing = 1; $xlhIsPiaoPing = 1;
} }
if($xlhLastPeriodsNum < $xlhPeriodsNum && $xlhPeriodsNum >= $xlh_ext['open_condition']['start_num']){ if($xlhLastPeriodsNum < $xlh_ext['open_condition']['start_num'] && $xlhPeriodsNum >= $xlh_ext['open_condition']['start_num']){
$xlhIsPiaoPing = 2; $xlhIsPiaoPing = 2;
} }
// 处理飘屏 // 处理飘屏