_getMarketMysql(), 't_nft', array( 'owner_address' => $account ), function ($row) use(&$nftList) { array_push($nftList, $row); } ); return $nftList; } public static function getNftListByType($account, $type) { $nftList = array(); SqlHelper::ormSelect( myself()->_getMarketMysql(), 't_nft', array( 'owner_address' => $account, 'token_type' => $type, ), function ($row) use(&$nftList) { array_push($nftList, $row); } ); return $nftList; } public static function getNft($tokenId) { $row = SqlHelper::ormSelectOne( myself()->_getMarketMysql(), 't_nft', array( 'token_id' => $tokenId, ) ); return $row; } }