From dda9d23e44b6a4cc31cce9ff2a686fe67e903edd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 22 Jun 2024 17:31:47 +0800 Subject: [PATCH] 1 --- webapp/controller/OutAppNftController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index c9423bd1..6cde467f 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -248,9 +248,9 @@ class OutAppNftController extends BaseController { break; case Nft::GOLD_BULLION_TYPE: { - $itemMeta = \mt\Item::get($heroDb['hero_id']); + $itemMeta = \mt\Item::get($nftDb['item_id']); if ($itemMeta) { - $info['meta_url'] = NFT_META_URL . '/hero/meta/' . $netId . '/' . $tokenId; + $info['meta_url'] = NFT_META_URL . '/gold_bullion/meta/' . $nftDb['net_id'] . '/' . $nftDb['token_id']; $info['name'] = $itemMeta['name']; $info['item_id'] = $itemMeta['id']; $info['type'] = $nftDb['token_type'];