This commit is contained in:
aozhiwei 2024-07-03 16:39:23 +08:00
parent 3cb8e40d8b
commit 7e5761b13d

View File

@ -133,7 +133,11 @@ class OutAppNftController extends BaseController {
public function hasAnyNft() public function hasAnyNft()
{ {
$accountAddress = strtolower(getReqVal('account_address', '')); $accountAddress = strtolower(getReqVal('account_address', ''));
return services\NftService::hasAnyNft($accountAddress); $ret = services\NftService::hasAnyNft($accountAddress);
error_log('hasAnyNft:' . $accountAddress . ' ret:' . $ret);
$this->_rspData(array(
'has_any_nft' => $ret ? 1 : 0,
));
} }
public function nftMetaView() public function nftMetaView()