This commit is contained in:
aozhiwei 2024-07-03 18:50:42 +08:00
parent 44203efe8e
commit 1ccc668b04

View File

@ -314,7 +314,7 @@ class OutAppNftController extends BaseController {
$info['name'] = $heroMeta['name']; $info['name'] = $heroMeta['name'];
$info['item_id'] = $heroMeta['id']; $info['item_id'] = $heroMeta['id'];
$info['type'] = $nftDb['token_type']; $info['type'] = $nftDb['token_type'];
$info['image'] = 'https://res2.counterfire.games/nft/meta/' . $heroMeta['id'] . '_' . $heroDb['quality'] . '.gif'; $info['image'] = 'https://res2.counterfire.games/nft/meta/' . $heroMeta['id'] . '_' . $this->getRealHeroQuality($heroDb) . '.gif';
$info['detail']['quality'] = $this->getRealHeroQuality($heroDb); $info['detail']['quality'] = $this->getRealHeroQuality($heroDb);
$info['detail']['max_mining_days'] = $heroAtteMeta['validTime']; $info['detail']['max_mining_days'] = $heroAtteMeta['validTime'];
$info['detail']['wealth'] = floor($wealth * (1+$wealth_rate)); $info['detail']['wealth'] = floor($wealth * (1+$wealth_rate));