盲盒转盘优化-重构-调试

This commit is contained in:
2025-10-28 18:12:41 +08:00
parent bbb3f85fee
commit 54efad0668
2 changed files with 2 additions and 2 deletions

View File

@@ -526,7 +526,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
* 获取缓存的巡乐会开启次数
*/
private function getCachedXlhPeriodsNum($type="get",$num=1) {
$cacheKey = "pan_xlh_periods_num";
$cacheKey = "xlh_periods_num";
$xlh_periods_num = Cache::get($cacheKey) ?? 0;
if($type=="set"){
$xlh_periods_num = $xlh_periods_num + $num;