From c80f036ea87e238826dc921a194c5533818d9354 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Thu, 23 Mar 2023 19:31:19 +0800 Subject: [PATCH] 1 --- webapp/services/TameBattleDataService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/services/TameBattleDataService.php b/webapp/services/TameBattleDataService.php index 0f5d46e4..47c58548 100644 --- a/webapp/services/TameBattleDataService.php +++ b/webapp/services/TameBattleDataService.php @@ -283,12 +283,12 @@ class TameBattleDataService extends BaseService { 'room_uuid'=> getXVal($this->allInfo,'room_uuid', 0), 'room_mode'=> getXVal($this->allInfo,'room_mode', 0), 'team_mode'=> $team_mode, -// 'game_over'=>0, + 'game_over'=>1, 'victory'=> getXVal($this->allInfo,'victory', 0), 'watchable'=> 1, 'map_id'=> getXVal($this->allInfo,'map_id', 0), 'battle_uuid'=> getXVal($this->allInfo,'battle_uuid', 0), -// 'settlement_status'=>0, + 'settlement_status'=>1, 'pvp_settlement_type'=> getXVal($this->allInfo,'pvp_settelement_type', 0), 'pvp_settlement_color'=> getXVal($this->allInfo,'pvp_settelement_color', 0), 'pvp_team_rank'=> getXVal($this->allInfo,'pvp_team_rank', 0), @@ -302,7 +302,7 @@ class TameBattleDataService extends BaseService { 'pve_instance_id'=> getXVal($this->allInfo,'pve_instance_id', 0), ); - $data['members_stats'] = array(); + $data['members'] = array(); $pvp_mode = getXVal($this->allInfo,'pvp_match_mode', 0); foreach ($this->teamInfo as $info){ $info['team_rank'] = getXVal($this->allInfo,'pvp_team_rank', 0); @@ -395,7 +395,7 @@ class TameBattleDataService extends BaseService { break; default:{} } - array_push($data['members_stats'],$temp); + array_push($data['members'],$temp); } BattleSettlement::addTeam( getXVal($this->allInfo,'battle_uuid', 0),