diff --git a/webapp/controller/NewMarketController.class.php b/webapp/controller/NewMarketController.class.php index 9014d02b..1ff27bf1 100644 --- a/webapp/controller/NewMarketController.class.php +++ b/webapp/controller/NewMarketController.class.php @@ -133,40 +133,6 @@ class NewMarketController extends BaseController { )); } - public function getNftListTest() - { - $account = getReqVal('account', ''); - $nftList = array(); - for ($i = 0; $i < 10; ++$i) { - $nft = array( - 'token_id' => $i + 1, - 'owner_address' => $account, - 'owner_name' => '', - 'item_id' => 30100 + $i * 100, - 'currency_list' => array(), - 'transaction_recrod' => array(), - 'info' => array( - 'name' => 'hero' . $i, - 'job' => 'Warrior', - 'level' => 1, - 'quality' => 1, - 'hp' => 100, - 'speed' => 100, - 'atk' => 1, - 'def' => 100, - 'advanced_count' => 0, - 'lucky' => 0, - 'success_rate' => 0 - ), - 'mint_time' => myself()->_getNowTime() - ); - array_push($nftList, $nft); - } - myself()->_rspData(array( - 'nfts' => $nftList - )); - } - public function getNftDetail() { $account = getReqVal('account', ''); @@ -207,35 +173,4 @@ class NewMarketController extends BaseController { )); } - public function getNftDetailTest() - { - $account = getReqVal('account', ''); - $i = 0; - $nft = array( - 'token_id' => $i + 1, - 'owner_address' => $account, - 'owner_name' => '', - 'item_id' => 30100 + $i * 100, - 'currency_list' => array(), - 'transaction_recrod' => array(), - 'info' => array( - 'name' => 'hero' . $i, - 'job' => 'Warrior', - 'level' => 1, - 'quality' => 1, - 'hp' => 100, - 'speed' => 100, - 'atk' => 1, - 'def' => 100, - 'advanced_count' => 0, - 'lucky' => 0, - 'success_rate' => 0 - ), - 'mint_time' => myself()->_getNowTime() - ); - myself()->_rspData(array( - 'info' => $nft - )); - } - }