From b3fe7f62424732a8f320ec7b6af4d2db0a9cb033 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 19 Sep 2022 13:15:03 +0800 Subject: [PATCH] 1 --- webapp/services/BattleDataService.php | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/webapp/services/BattleDataService.php b/webapp/services/BattleDataService.php index 30f5a736..7d3bb988 100644 --- a/webapp/services/BattleDataService.php +++ b/webapp/services/BattleDataService.php @@ -102,13 +102,10 @@ class BattleDataService extends BaseService { case 0: { //匹配赛模式 - try { - $this->updatePvpData(); - $this->rewardCegPvp(); - $this->rewardFragmentPvp(); - } finally { - $this->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 1); - } + $this->updatePvpData(); + $this->rewardCegPvp(); + $this->rewardFragmentPvp(); + $this->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 1); } break; case 1: @@ -119,16 +116,13 @@ class BattleDataService extends BaseService { case 2: { //pve - try { - $this>updatePveData(); - if ($this->pveGeminiMeta && - $this->pveGeminiMetaMode) { - $this->rewardCegPve(); - $this->rewardFragmentPve(); - } - } finally { - $this->_incDailyV(TN_DAILY_PVE_BATTLE_TIMES, 1); + $this>updatePveData(); + if ($this->pveGeminiMeta && + $this->pveGeminiMetaMode) { + $this->rewardCegPve(); + $this->rewardFragmentPve(); } + $this->_incDailyV(TN_DAILY_PVE_BATTLE_TIMES, 1); } break; default: