1
This commit is contained in:
parent
f3649e8e84
commit
ca59bdccd1
@ -153,7 +153,11 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
return;
|
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;
|
break;
|
||||||
default:
|
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(
|
$params = array(
|
||||||
'c' => 'BcService',
|
'c' => 'BcService',
|
||||||
@ -200,6 +204,7 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
'token_type' => $tokenType,
|
'token_type' => $tokenType,
|
||||||
'item_uniid' => $itemUniId,
|
'item_uniid' => $itemUniId,
|
||||||
'item_id' => $itemId,
|
'item_id' => $itemId,
|
||||||
|
'is_mint' => $isMint,
|
||||||
'net_id' => NET_ID
|
'net_id' => NET_ID
|
||||||
);
|
);
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user