1
This commit is contained in:
parent
52b8da81a9
commit
d359937c1b
@ -99,17 +99,19 @@ class BattleBoxService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($boxNum > 0) {
|
if ($boxNum > 0) {
|
||||||
SqlHelper::insert(
|
if (getReqVal('c', '') != 'Tools') {
|
||||||
myself()->_getSelfMysql(),
|
SqlHelper::insert(
|
||||||
't_box_alloc',
|
myself()->_getSelfMysql(),
|
||||||
array(
|
't_box_alloc',
|
||||||
'room_uuid' => $roomUuid,
|
array(
|
||||||
'account_id' => myself()->_getAccountId(),
|
'room_uuid' => $roomUuid,
|
||||||
'box_num' => $boxNum,
|
'account_id' => myself()->_getAccountId(),
|
||||||
'createtime' => myself()->_getNowTime(),
|
'box_num' => $boxNum,
|
||||||
'modifytime' => myself()->_getNowTime(),
|
'createtime' => myself()->_getNowTime(),
|
||||||
)
|
'modifytime' => myself()->_getNowTime(),
|
||||||
);
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
self::incAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds(), $boxNum);
|
self::incAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds(), $boxNum);
|
||||||
}
|
}
|
||||||
return $boxNum;
|
return $boxNum;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user