Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb
This commit is contained in:
commit
050cb4117c
@ -138,6 +138,7 @@ class OutAppNftController extends BaseController {
|
|||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'has_any_nft' => $ret ? 1 : 0,
|
'has_any_nft' => $ret ? 1 : 0,
|
||||||
));
|
));
|
||||||
|
error_log(2222);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function nftMetaView()
|
public function nftMetaView()
|
||||||
@ -313,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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user