盲盒转盘优化-重构-调试
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user