This commit is contained in:
aozhiwei 2024-07-31 14:06:28 +08:00
parent 7073ea4f04
commit 08282ac0d0

View File

@ -1283,7 +1283,10 @@ class BattleController extends BaseAuthedController {
private function getAlreadyAllocBoxNum() private function getAlreadyAllocBoxNum()
{ {
$key = 'box_daily_already_alloc_num:' . myself()->_getNowDaySeconds();
$r = $this->_getRedis($key);
$num = $r->get($key);
return empty($num) ? 0 : $num;
} }
} }