Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb
This commit is contained in:
commit
55dc53db7d
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user