Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb

This commit is contained in:
hujiabin 2024-07-03 15:41:53 +08:00
commit 55dc53db7d

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;
}
}
}