This commit is contained in:
hujiabin 2024-04-03 17:37:35 +08:00
parent c84f3986a2
commit 444aa2d3a3
2 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ class BattleController extends BaseAuthedController {
$teamBattleDataService->addBattleSettlementTeam();
foreach ($data['members'] as $member){
$member['pvp_team_rank'] = getXVal($data,'pvp_team_rank', 0);
if ($member['account_id']){
if ($member['account_id'] && !myself()->_isAndroidAccountId($member['account_id'])){
$this->switchAccount($member['account_id']);
$teamBattleDataService->battleInfo = $member;
$teamBattleDataService->updateBattleData();

View File

@ -115,7 +115,7 @@ class TameBattleDataService extends BaseService {
{
//匹配赛模式
$this->updatePvpData();
$this->settlementReward();
// $this->settlementReward();
myself()->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 0, 1);
}
break;
@ -125,7 +125,7 @@ class TameBattleDataService extends BaseService {
$this->updatePvpData();
$this->updateRankData();
$this->updateScore();
$this->settlementReward();
// $this->settlementReward();
myself()->_incDailyV(TN_DAILY_RANK_BATTLE_TIMES, 0, 1);
}
break;
@ -917,7 +917,7 @@ class TameBattleDataService extends BaseService {
$teamIdHash = array();
foreach ($this->teamList as &$team){
foreach ($team['members'] as $k=>$member){
if (!empty($member['account_id'])){
if (!empty($member['account_id']) && !myself()->_isAndroidAccountId($member['account_id']) ){
$channelId = phpcommon\extractChannel($member['account_id']);
if ($channelId == SELFSDK_CHANNEL) {
unset($team['members'][$k]);