1
This commit is contained in:
parent
f3649e8e84
commit
ca59bdccd1
@ -153,7 +153,11 @@ class BlockChainController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
}
|
||||
$this->internalActivate721Nft($tokenId, Nft::HERO_TYPE, $heroDb['hero_uniid'], $heroDb['hero_id']);
|
||||
$this->internalActivate721Nft($tokenId,
|
||||
Nft::HERO_TYPE,
|
||||
$heroDb['hero_uniid'],
|
||||
$heroDb['hero_id'],
|
||||
true);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
@ -188,7 +192,7 @@ class BlockChainController extends BaseAuthedController {
|
||||
|
||||
}
|
||||
|
||||
private function internalActivate721Nft($tokenId, $tokenType, $itemUniId, $itemId)
|
||||
private function internalActivate721Nft($tokenId, $tokenType, $itemUniId, $itemId, $isMint)
|
||||
{
|
||||
$params = array(
|
||||
'c' => 'BcService',
|
||||
@ -200,6 +204,7 @@ class BlockChainController extends BaseAuthedController {
|
||||
'token_type' => $tokenType,
|
||||
'item_uniid' => $itemUniId,
|
||||
'item_id' => $itemId,
|
||||
'is_mint' => $isMint,
|
||||
'net_id' => NET_ID
|
||||
);
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user