This commit is contained in:
aozhiwei 2024-10-16 17:05:00 +08:00
parent 72b983b7db
commit 46f8bda768

View File

@ -1422,9 +1422,9 @@ class BattleController extends BaseAuthedController {
'return_time' => myself()->_getNowTime(),
)
);
services\BattleBoxService::incAlreadyAllocBoxNum($row['phase'],
$row['createtime'],
-max(0, $allocBoxNum - $usedNum));
services\BattleBoxService::incAlreadyAllocNum($row['phase'],
$row['createtime'],
-max(0, $allocBoxNum - $usedNum));
myself()->_rspOk();
}