From 7f8538483baf36651d6d7410f8f4ae4bc2d6c1f3 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Jun 2022 18:21:33 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 91d8353b..927aa3a1 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -187,7 +187,7 @@ class HeroController extends BaseAuthedController { ) ); $newHeroDb = Hero::find($heroUniId); - $newHeroDto = Hero::toDto($newHeroDb); + $newHero = Hero::toDto($newHeroDb); error_log(11111); $rankActivityService = new services\RankActivityService(); $rankActivityService->heroUpgradeLevel($heroDb['hero_lv'] + 1);