This commit is contained in:
aozhiwei 2022-12-22 18:41:27 +08:00
parent 81382f07e5
commit 99de4605a9

View File

@ -84,14 +84,14 @@ class RestApiController extends BaseController {
); );
if (in_array($tokenId, $heroBoxes)) { if (in_array($tokenId, $heroBoxes)) {
$nftView['name'] = 'CEBG Airdrop Hero'; $nftView['name'] = 'CEBG Airdrop Hero';
$nftView['image'] = 'CEBG Airdrop Hero'; $nftView['image'] = 'https://www.cebg.games/res/nfts/CEBG_Space_Hero.png';
$nftView['description'] = 'https://www.cebg.games/res/nfts/CEBG_Space_Hero.png'; $nftView['description'] = 'CEBG Airdrop Hero';
return true; return true;
} }
if (in_array($tokenId, $weaponBoxes)) { if (in_array($tokenId, $weaponBoxes)) {
$nftView['name'] = 'CEBG Airdrop Weapon'; $nftView['name'] = 'CEBG Airdrop Weapon';
$nftView['image'] = 'CEBG Airdrop Weapon'; $nftView['image'] = 'https://www.cebg.games/res/nfts/CEBG_Space_Weapon.png';
$nftView['description'] = 'https://www.cebg.games/res/nfts/CEBG_Space_Weapon.png'; $nftView['description'] = 'CEBG Airdrop Weapon';
return true; return true;
} }
return false; return false;