From ce2b5441def33fe46cb104ef19260af341f81257 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Jun 2022 18:27:38 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 927aa3a1..f794dd6a 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -188,7 +188,6 @@ class HeroController extends BaseAuthedController { ); $newHeroDb = Hero::find($heroUniId); $newHero = Hero::toDto($newHeroDb); - error_log(11111); $rankActivityService = new services\RankActivityService(); $rankActivityService->heroUpgradeLevel($heroDb['hero_lv'] + 1); } @@ -251,7 +250,7 @@ class HeroController extends BaseAuthedController { ) ); $newHeroDb = Hero::find($heroUniId); - $newHeroDto = Hero::toDto($newHeroDb); + $newHero = Hero::toDto($newHeroDb); $rankActivityService = new services\RankActivityService(); $rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1); }