新需求-活动需求-盲盒转盘调通盘-调试
This commit is contained in:
@@ -929,7 +929,7 @@ class BlindBoxTurntableGiftDrawWorld extends Model
|
||||
$cacheKey = "xlh_periods_num";
|
||||
$xlh_periods_num = Cache::get($cacheKey) ?? 0;
|
||||
if($type=="set"){
|
||||
$xlh_periods_num = $xlh_periods_num+$num;
|
||||
$xlh_periods_num = $num;
|
||||
Cache::set($cacheKey, $xlh_periods_num, 0);
|
||||
}
|
||||
return $xlh_periods_num;
|
||||
|
||||
Reference in New Issue
Block a user