1
This commit is contained in:
parent
1db84e2c3f
commit
3b66dd9b09
@ -154,7 +154,11 @@ class OutAppNftController extends BaseController {
|
||||
"attributes" => array(),
|
||||
);
|
||||
$nftDb = Nft::getNftByNetIdTokenTypeTokenId($netId, $tokenType, $tokenId);
|
||||
switch ($tokenType) {
|
||||
if (empty($nftDb)) {
|
||||
echo json_encode($info);
|
||||
die;
|
||||
}
|
||||
switch ($nftDb['token_type']) {
|
||||
case Nft::HERO_TYPE:
|
||||
case Nft::GCARD_HERO_TYPE:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user