1
This commit is contained in:
parent
443ccb88a6
commit
c49f7ed3b1
@ -156,6 +156,7 @@ class OutAppNftController extends BaseController {
|
||||
$nftDb = Nft::getNftByNetIdTokenTypeTokenId($netId, $tokenType, $tokenId);
|
||||
switch ($tokenType) {
|
||||
case Nft::HERO_TYPE:
|
||||
case Nft::GCARD_HERO_TYPE:
|
||||
{
|
||||
$heroDb = Hero::findByTokenId2($tokenId);
|
||||
if (!$heroDb){
|
||||
@ -300,6 +301,7 @@ class OutAppNftController extends BaseController {
|
||||
$info['owner_address'] = $nftDb['owner_address'];
|
||||
switch ($nftDb['token_type']) {
|
||||
case Nft::HERO_TYPE:
|
||||
case Nft::GCARD_HERO_TYPE:
|
||||
{
|
||||
$heroDb = Hero::findByTokenId2($nftDb['token_id']);
|
||||
if ($heroDb) {
|
||||
@ -350,6 +352,7 @@ class OutAppNftController extends BaseController {
|
||||
$this->fillBoxDetail($info);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Nft::FOUNDER_TAG_TYPE:
|
||||
{
|
||||
$info['meta_url'] = 'https://nftmint.counterfire.games/nft/202403/' . $nftDb['token_id'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user