From d438630feb03f4a335af035ef9a7562166ae3b95 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Wed, 19 Jun 2024 16:27:42 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index c6a3edc7..265a7cb7 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -51,11 +51,7 @@ class HeroController extends BaseAuthedController { $this->_rspErr(1, "You don't have the hero yet"); return; } - $heroDb['tags'] = ''; - if ($heroDb['token_id']){ - $nftDb = Nft::getNft($heroDb['token_id']); - $heroDb['tags'] = $nftDb['tags']; - } + $resetLv_state = $this->_getDailyV(TN_DAILY_RESET_HERO_LEVEL_STATE, $unique_id); $hero = Hero::toDto($heroDb);