1
This commit is contained in:
parent
3512637806
commit
cc6803ef39
@ -178,6 +178,9 @@ class OutAppNftController extends BaseController {
|
|||||||
|
|
||||||
public function nftDetailList()
|
public function nftDetailList()
|
||||||
{
|
{
|
||||||
|
$rspObj = array(
|
||||||
|
'nfts' => array()
|
||||||
|
);
|
||||||
$data = file_get_contents('php://input');
|
$data = file_get_contents('php://input');
|
||||||
$dataJson = json_decode($data, true);
|
$dataJson = json_decode($data, true);
|
||||||
if (count($dataJson['nfts']) > 20) {
|
if (count($dataJson['nfts']) > 20) {
|
||||||
@ -192,8 +195,10 @@ class OutAppNftController extends BaseController {
|
|||||||
if (!empty($nftDb)) {
|
if (!empty($nftDb)) {
|
||||||
$info = array();
|
$info = array();
|
||||||
$this->internalNftDetail($netId, $nftDb, $info);
|
$this->internalNftDetail($netId, $nftDb, $info);
|
||||||
|
array_push($rspObj['nfts'], $info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
myself()->_rspData($rspObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function nftDetailByContractAddress()
|
public function nftDetailByContractAddress()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user