1
This commit is contained in:
parent
1d2f227198
commit
38b2c64ef7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user