diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index ad61a551..a5d5e0f9 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -122,5 +122,26 @@ class OutAppNftController extends BaseController { 'info' => $info, )); } + + public function nftMetaView() + { + $nftType = getReqVal('nft_type', ''); + $netId = getReqVal('net_id', ''); + $tokenId = getReqVal('token_id', ''); + $info = array( + "name" => "", + "description" => "", + "image" => "", + "attributes" => array(), + ); + switch ($nftType) { + case 'hero': + { + } + break; + } + myself()->_rspData($info); + } + }