From 0344b2ef4b0c5bcf87cd998cd7f96e51ace0df7a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 19 Sep 2022 10:50:41 +0800 Subject: [PATCH] 1 --- webapp/services/BattleDataService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/services/BattleDataService.php b/webapp/services/BattleDataService.php index 3bb75387..95ff14d6 100644 --- a/webapp/services/BattleDataService.php +++ b/webapp/services/BattleDataService.php @@ -73,6 +73,7 @@ class BattleDataService extends BaseService { if (!$this->heroMeta) { return false; } + $this->reward['hero']['uuid'] = $this->heroDto['hero_uniid']; } { $weaponUuid1 = getReqVal('weapon_uuid1', ''); @@ -82,6 +83,7 @@ class BattleDataService extends BaseService { return false; } $this->weapon1Dto = Gun::toDto($weaponDb); + $this->reward['weapon1']['uuid'] = $this->weapon1Dto['gun_uniid']; } } { @@ -92,6 +94,7 @@ class BattleDataService extends BaseService { return false; } $this->weapon2Dto = Gun::toDto($weaponDb); + $this->reward['weapon2']['uuid'] = $this->weapon2Dto['gun_uniid']; } } $matchMode = getReqVal('match_mode');