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: