This commit is contained in:
aozhiwei 2024-08-20 16:48:33 +08:00
parent 58e3552074
commit 3837e5a033

View File

@ -1176,6 +1176,12 @@ class BattleController extends BaseAuthedController {
public function requestAllocBoxNum() public function requestAllocBoxNum()
{ {
if (!myself()->_switchIsOpen('bigEventBoxDrop')) {
myself()->_rspData(array(
'box_num' => 0
));
return;
}
$roomUuid = getReqVal('room_uuid', ''); $roomUuid = getReqVal('room_uuid', '');
$row = SqlHelper::ormSelectOne( $row = SqlHelper::ormSelectOne(
$this->_getSelfMysql(), $this->_getSelfMysql(),