This commit is contained in:
aozhiwei 2024-06-22 18:44:27 +08:00
parent 3512637806
commit cc6803ef39

View File

@ -178,6 +178,9 @@ class OutAppNftController extends BaseController {
public function nftDetailList()
{
$rspObj = array(
'nfts' => array()
);
$data = file_get_contents('php://input');
$dataJson = json_decode($data, true);
if (count($dataJson['nfts']) > 20) {
@ -192,8 +195,10 @@ class OutAppNftController extends BaseController {
if (!empty($nftDb)) {
$info = array();
$this->internalNftDetail($netId, $nftDb, $info);
array_push($rspObj['nfts'], $info);
}
}
myself()->_rspData($rspObj);
}
public function nftDetailByContractAddress()