From ac585fb7d36af12a8780fcce91d5dea8102b9530 Mon Sep 17 00:00:00 2001 From: songliang Date: Fri, 16 Dec 2022 10:35:02 +0800 Subject: [PATCH] ... --- webapp/controller/MarketController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index c8381beb..05c77c0c 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -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: {