Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb

This commit is contained in:
hujiabin 2024-07-03 19:33:34 +08:00
commit 050cb4117c

View File

@ -138,6 +138,7 @@ class OutAppNftController extends BaseController {
$this->_rspData(array(
'has_any_nft' => $ret ? 1 : 0,
));
error_log(2222);
}
public function nftMetaView()
@ -313,7 +314,7 @@ class OutAppNftController extends BaseController {
$info['name'] = $heroMeta['name'];
$info['item_id'] = $heroMeta['id'];
$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']['max_mining_days'] = $heroAtteMeta['validTime'];
$info['detail']['wealth'] = floor($wealth * (1+$wealth_rate));