1
This commit is contained in:
parent
7073ea4f04
commit
08282ac0d0
@ -1283,7 +1283,10 @@ class BattleController extends BaseAuthedController {
|
||||
|
||||
private function getAlreadyAllocBoxNum()
|
||||
{
|
||||
|
||||
$key = 'box_daily_already_alloc_num:' . myself()->_getNowDaySeconds();
|
||||
$r = $this->_getRedis($key);
|
||||
$num = $r->get($key);
|
||||
return empty($num) ? 0 : $num;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user