This commit is contained in:
aozhiwei 2024-07-31 14:11:07 +08:00
parent 44ed34f1e6
commit a6dc020742

View File

@ -1243,6 +1243,7 @@ class BattleController extends BaseAuthedController {
'modifytime' => myself()->_getNowTime(),
)
);
$this->incAlreadyAllocBoxNum($boxNum);
myself()->_rspData(array(
'box_num' => $boxNum
));
@ -1278,6 +1279,7 @@ class BattleController extends BaseAuthedController {
'return_time' => myself()->_getNowTime(),
)
);
$this->incAlreadyAllocBoxNum(-max(0, $allocBoxNum - $usedNum));
myself()->_rspOk();
}