This commit is contained in:
hujiabin 2024-06-19 16:27:42 +08:00
parent a08f9cf846
commit d438630feb

View File

@ -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);