$tran['trans_id'], 'item_id' => $tran['item_id'], 'action' => Transaction::getActionDesc($tran['action']), 'status' => Transaction::getActionDesc($tran['status']), 'time' => $tran['createtime'], ) ); } $this->_rspData(array( 'transactions' => $trans )); } public function active721Nft() { $type = getReqVal('type', 0); $uniid = getReqVal('uniid', 0); switch ($type) { case 1: { $heroDb = Hero::find($uuid); if (!$heroDb) { myself()->_rspErr(1, 'hero not found'); return; } if ($heroDb['token_id']) { myself()->_rspErr(1, 'already activated'); return; } if (!$heroDb['active_token_id']) { } } break; case 2: { $gunDb = Gun::find($uuid); if (!$gunDb) { myself()->_rspErr(1, 'gun not found'); return; } } break; default: { myself()->_rspErr(1, 'type param error'); return; } break; } } public function active1155Nft() { } public function reportActiveResult() { } public function evolve721Nft() { } public function reportEvolve721NftResult() { } public function evolveChip() { } public function reportEvolveChipResult() { } public function mintShardBatchUser() { } public function reportMintShardBatchUserResult() { } public function shardMixByUser() { } public function reportShardMixByUserResult() { } }