diff --git a/webapp/services/RoomBattleDataService.php b/webapp/services/RoomBattleDataService.php index 296a9419..f23feb6b 100644 --- a/webapp/services/RoomBattleDataService.php +++ b/webapp/services/RoomBattleDataService.php @@ -289,9 +289,18 @@ class RoomBattleDataService extends BaseService { 'map_mode' => $this->mapMode, 'baseGold' => $baseGold, 'gold' => isset($baseValue) ? $baseValue : $gold, + 'box_rate' => $rate, 'rewards' => $reward, - 'heroBattleTimes' => $heroDb['idx'] .'|' .$heroTimes, - 'goldModeTimes' => $goldModeTimes, + 'goldInfo' => array( + 'heroBattleTimes' => $heroDb['idx'] .'|' .$heroTimes, + 'goldModeTimes' => $goldModeTimes, + ), + 'betInfo' => array( + 'realUser' => $this->realUserCount, + 'coefficient' => isset($coefficient) ? $coefficient : 0, + 'battleScore' => $battleScore, + 'teamScore' => $teamScore, + ) )); } }