This commit is contained in:
aozhiwei 2022-09-19 13:15:03 +08:00
parent fe7d51812e
commit b3fe7f6242

View File

@ -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: