...
This commit is contained in:
parent
ee4c49f365
commit
ac585fb7d3
@ -648,8 +648,12 @@ class MarketController extends BaseController {
|
|||||||
break;
|
break;
|
||||||
case Nft::FRAGMENT_TYPE: {
|
case Nft::FRAGMENT_TYPE: {
|
||||||
$rows = Nft::getNft1155List($account, $type);
|
$rows = Nft::getNft1155List($account, $type);
|
||||||
|
foreach ($rows as &$row) {
|
||||||
|
$nftDb = Nft::findNftByOwner($account, $row['token_id']);
|
||||||
|
$row['detail'] = $this->getNftGameData($nftDb);
|
||||||
|
array_push($nfts, $row);
|
||||||
|
}
|
||||||
usort($nfts, $sortByTokenId);
|
usort($nfts, $sortByTokenId);
|
||||||
$nfts = $rows;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: {
|
default: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user