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