1
This commit is contained in:
parent
c84f3986a2
commit
444aa2d3a3
@ -179,7 +179,7 @@ class BattleController extends BaseAuthedController {
|
|||||||
$teamBattleDataService->addBattleSettlementTeam();
|
$teamBattleDataService->addBattleSettlementTeam();
|
||||||
foreach ($data['members'] as $member){
|
foreach ($data['members'] as $member){
|
||||||
$member['pvp_team_rank'] = getXVal($data,'pvp_team_rank', 0);
|
$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']);
|
$this->switchAccount($member['account_id']);
|
||||||
$teamBattleDataService->battleInfo = $member;
|
$teamBattleDataService->battleInfo = $member;
|
||||||
$teamBattleDataService->updateBattleData();
|
$teamBattleDataService->updateBattleData();
|
||||||
|
@ -115,7 +115,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
{
|
{
|
||||||
//匹配赛模式
|
//匹配赛模式
|
||||||
$this->updatePvpData();
|
$this->updatePvpData();
|
||||||
$this->settlementReward();
|
// $this->settlementReward();
|
||||||
myself()->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 0, 1);
|
myself()->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 0, 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -125,7 +125,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
$this->updatePvpData();
|
$this->updatePvpData();
|
||||||
$this->updateRankData();
|
$this->updateRankData();
|
||||||
$this->updateScore();
|
$this->updateScore();
|
||||||
$this->settlementReward();
|
// $this->settlementReward();
|
||||||
myself()->_incDailyV(TN_DAILY_RANK_BATTLE_TIMES, 0, 1);
|
myself()->_incDailyV(TN_DAILY_RANK_BATTLE_TIMES, 0, 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -917,7 +917,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
$teamIdHash = array();
|
$teamIdHash = array();
|
||||||
foreach ($this->teamList as &$team){
|
foreach ($this->teamList as &$team){
|
||||||
foreach ($team['members'] as $k=>$member){
|
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']);
|
$channelId = phpcommon\extractChannel($member['account_id']);
|
||||||
if ($channelId == SELFSDK_CHANNEL) {
|
if ($channelId == SELFSDK_CHANNEL) {
|
||||||
unset($team['members'][$k]);
|
unset($team['members'][$k]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user