This commit is contained in:
songliang 2022-12-16 10:35:02 +08:00
parent ee4c49f365
commit ac585fb7d3

View File

@ -648,8 +648,12 @@ class MarketController extends BaseController {
break;
case Nft::FRAGMENT_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);
$nfts = $rows;
}
break;
default: {