1
This commit is contained in:
parent
44ed34f1e6
commit
a6dc020742
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user