From 324a86047a7090dbfc16a507511fa7cd90650bb8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Jun 2022 18:16:00 +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 c15164f0..4a538141 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -362,7 +362,6 @@ class HeroController extends BaseAuthedController { Hero::update( $heroUniId, array( - 'hero_lv' => $heroDb['hero_lv'], 'lock_type' => Hero::LEVEL_LOCK, 'unlock_time' => $this->_getNowTime() + $nextLevelMeta['time'], ) @@ -494,7 +493,6 @@ class HeroController extends BaseAuthedController { $this->_decItems($costItems); Hero::update($heroUniId, array( - 'hero_lv' => $heroDb['hero_lv'], 'lock_type' => Hero::QUALITY_LOCK, 'unlock_time' => $this->_getNowTime() + $nextQualityMeta['time'], ) @@ -542,6 +540,7 @@ class HeroController extends BaseAuthedController { $heroDto = Hero::toDto($heroDb); $newHeroDto = Hero::toDto($newHeroDb); $this->_rspData(array( + 'old_hero' => $heroDto, 'new_hero' => $newHeroDto ));