This commit is contained in:
aozhiwei 2024-07-03 15:37:28 +08:00
parent e2bd74e0f2
commit 2bdbbb9f23

View File

@ -164,6 +164,14 @@ class NftService extends BaseService {
}
}
public static function hasLockedNft($accountAddress)
{
$nftList = Nft::getNftListByType($accountAddress, Nft::HERO_TYPE);
if (empty($nftList) || count($nftList) <= 0) {
return false;
} else {
return true;
}
}
}