This commit is contained in:
hujiabin 2024-04-03 14:39:48 +08:00
parent b24f14068b
commit cd0774025e
2 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,7 @@ class RoomBattleDataService extends BaseService {
// } // }
$battleScore = $this->_calBattleScore($member); $battleScore = $this->_calBattleScore($member);
$member['battle_score'] = $battleScore; $member['battle_score'] = $battleScore;
$member['settlement_status'] = 1;
// //验证非机器人 // //验证非机器人
$account = getXVal($member,'account_id', 0); $account = getXVal($member,'account_id', 0);
if(!myself()->_isAndroidAccountId($account)){ if(!myself()->_isAndroidAccountId($account)){

View File

@ -522,7 +522,7 @@ class TameBattleDataService extends BaseService {
'watchable'=> 1, 'watchable'=> 1,
'map_id'=> getXVal($this->allInfo,'map_id', 0), 'map_id'=> getXVal($this->allInfo,'map_id', 0),
'battle_uuid'=> getXVal($this->allInfo,'battle_uuid', 0), 'battle_uuid'=> getXVal($this->allInfo,'battle_uuid', 0),
'settlement_status'=>1, 'settlement_status'=>0,
'pvp_settlement_type'=> getXVal($this->allInfo,'pvp_settelement_type', 0), 'pvp_settlement_type'=> getXVal($this->allInfo,'pvp_settelement_type', 0),
'pvp_settlement_color'=> getXVal($this->allInfo,'pvp_settelement_color', 0), 'pvp_settlement_color'=> getXVal($this->allInfo,'pvp_settelement_color', 0),
'pvp_team_rank'=> getXVal($this->allInfo,'pvp_team_rank', 0), 'pvp_team_rank'=> getXVal($this->allInfo,'pvp_team_rank', 0),