1
This commit is contained in:
parent
6a59eaf735
commit
a6e921667b
@ -54,8 +54,8 @@ class BattleController extends BaseAuthedController {
|
||||
'account_id' => $member['account_id'],
|
||||
'session_id' => $member['session_id'],
|
||||
'hero_uniid' => $member['hero_uniid'],
|
||||
'weapon_uniid1' => $member['weapon_uniid1'],
|
||||
'weapon_uniid2' => $member['weapon_uniid2'],
|
||||
'weapon_uuid1' => $member['weapon_uuid1'],
|
||||
'weapon_uuid2' => $member['weapon_uuid2'],
|
||||
'battle_uuid' => $member['battle_uuid'],
|
||||
'hero_dto' => '',
|
||||
'weapon_dto1' => '',
|
||||
@ -84,7 +84,7 @@ class BattleController extends BaseAuthedController {
|
||||
{
|
||||
for ($i = 1; $i <= 2; ++$i) {
|
||||
$gunDb = Gun::findByAccountId($member['account_id'],
|
||||
$member['weapon_uniid' . $i]);
|
||||
$member['weapon_uuid' . $i]);
|
||||
if ($gunDb) {
|
||||
$info['weapon_dto' . $i] = json_encode(Gun::toDto($gunDb));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user