From 38b2c64ef73467a4824d2d32cbbcc6696c07ffdd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 22 Jun 2024 18:12:43 +0800 Subject: [PATCH] 1 --- webapp/controller/OutAppNftController.class.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index 518f785e..181215d2 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -153,10 +153,9 @@ class OutAppNftController extends BaseController { } $heroMeta = \mt\Hero::get($heroDb['hero_id']); $NftMeta = \mt\NftDesc::getByItemId($heroDb['hero_id']); - //https://www.cebg.games/res/nfts/30100.png $info['name'] = $heroMeta['name']; $info['description'] = $NftMeta['desc']; - $info['image'] = "https://www.cebg.games/res/nfts/".$heroDb['hero_id'].".png"; + $info['image'] = "https://res2.cebggame.com/nft/meta/".$heroDb['hero_id'].'_'.$heroDb['quality'].".gif"; array_push($info['attributes'],array( "trait_type" => "level", "value" => intval($heroDb['hero_lv']), @@ -167,10 +166,9 @@ class OutAppNftController extends BaseController { case Nft::GOLD_BULLION_TYPE: { $NftMeta = \mt\NftDesc::getByItemId($nftDb['item_id']); - //https://www.cebg.games/res/nfts/30100.png //$info['name'] = $heroMeta['name']; $info['description'] = $NftMeta['desc']; - $info['image'] = "https://www.cebg.games/res/nfts/".$nftDb['item_id'].".png"; + $info['image'] = "https://res2.cebggame.com/nft/meta/".$nftDb['item_id'].".png"; } break; }