This commit is contained in:
aozhiwei 2022-09-19 10:50:41 +08:00
parent e791e453f9
commit 0344b2ef4b

View File

@ -73,6 +73,7 @@ class BattleDataService extends BaseService {
if (!$this->heroMeta) { if (!$this->heroMeta) {
return false; return false;
} }
$this->reward['hero']['uuid'] = $this->heroDto['hero_uniid'];
} }
{ {
$weaponUuid1 = getReqVal('weapon_uuid1', ''); $weaponUuid1 = getReqVal('weapon_uuid1', '');
@ -82,6 +83,7 @@ class BattleDataService extends BaseService {
return false; return false;
} }
$this->weapon1Dto = Gun::toDto($weaponDb); $this->weapon1Dto = Gun::toDto($weaponDb);
$this->reward['weapon1']['uuid'] = $this->weapon1Dto['gun_uniid'];
} }
} }
{ {
@ -92,6 +94,7 @@ class BattleDataService extends BaseService {
return false; return false;
} }
$this->weapon2Dto = Gun::toDto($weaponDb); $this->weapon2Dto = Gun::toDto($weaponDb);
$this->reward['weapon2']['uuid'] = $this->weapon2Dto['gun_uniid'];
} }
} }
$matchMode = getReqVal('match_mode'); $matchMode = getReqVal('match_mode');