1
This commit is contained in:
parent
f59e404a1a
commit
8ab104b701
@ -211,12 +211,7 @@ class MarketController extends BaseAuthedController {
|
||||
);
|
||||
$nftDb = Nft::getNft($row['token_id']);
|
||||
if ($nftDb) {
|
||||
if ($nftDb['token_type'] == Nft::HERO_TYPE) {
|
||||
$heroDb = Hero::findByTokenId2($nftDb['token_id']);
|
||||
if ($heroDb) {
|
||||
$info['detail'] = Hero::toDtoInfo($heroDb);
|
||||
}
|
||||
}
|
||||
$nftDb['detail'] = Nft::toDto($nftDb);
|
||||
}
|
||||
return $info;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user