From 3498d16b639a7b1d4faffb51e3d82a8423f9f7ae Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Fri, 11 Oct 2024 16:07:17 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 1 + webapp/controller/MissionController.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 375e8834..b71e5d1b 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -226,6 +226,7 @@ class HeroController extends BaseAuthedController { 'wealth_attr' => json_encode($attribute), ); if ($heroDb['quality'] == 1){ + $fieldsKv['gold_times'] = 0; $this->_incDailyV(TN_DAILY_TIER_N_HERO_TIMES, 0,1); } if ($heroDb['quality'] + 1 > 4){ diff --git a/webapp/controller/MissionController.class.php b/webapp/controller/MissionController.class.php index f8f0a303..dfd2879c 100644 --- a/webapp/controller/MissionController.class.php +++ b/webapp/controller/MissionController.class.php @@ -37,7 +37,7 @@ class MissionController extends BaseAuthedController { public function _handlePre() { parent::_handlePre(); - die; + DynData::preload(); // $this->currRankSeasonMeta = mt\RankSeason::getCurrentSeason(); // if (!$this->currRankSeasonMeta) {