1
This commit is contained in:
parent
3cb8e40d8b
commit
7e5761b13d
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user