From 106160b79955685dca8f84396c3ef81c44154e78 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Sun, 9 Oct 2022 16:10:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=AC=E8=B5=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/MissionController.class.php | 2 ++ webapp/services/MissionService.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/webapp/controller/MissionController.class.php b/webapp/controller/MissionController.class.php index 4a52fa03..f8200d50 100644 --- a/webapp/controller/MissionController.class.php +++ b/webapp/controller/MissionController.class.php @@ -162,6 +162,8 @@ class MissionController extends BaseAuthedController { $missionDb = Mission::find($missionId); $missionDto = $this->missionService->getMissionDto( $this->userInfo, $this->seasonDb, $missionDb, $missionMeta); + $this->propertyChgService->addHeroChg(); + $this->propertyChgService->addGunChg(); $this->_rspData(array( 'award' => $this->awardService->toDto(), 'property_chg' => $this->propertyChgService->toDto(), diff --git a/webapp/services/MissionService.php b/webapp/services/MissionService.php index 29259d89..4a0588b6 100644 --- a/webapp/services/MissionService.php +++ b/webapp/services/MissionService.php @@ -874,8 +874,12 @@ class MissionService extends BaseService { $this->receiveOfferRewardMission($missionId, $awardService, $propertyChgService); + $propertyChgService->addHeroChg(); + $propertyChgService->addGunChg(); + $propertyChgService->addUserChg(); myself()->_rspData(array( 'award' => $awardService->toDto(), + 'property_chg' => $propertyChgService->toDto(), )); }