1
This commit is contained in:
parent
a8230c99d9
commit
7f59e82c65
@ -218,12 +218,20 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function internalOpenChipBox($itemDb, $num) {
|
private function internalOpenChipBox($itemDb, $num) {
|
||||||
|
$tokenId = BuyRecord::genOrderId
|
||||||
|
(
|
||||||
|
2006,
|
||||||
|
phpcommon\BC_FUNC_CREATION,
|
||||||
|
myself()->_getNowTime(),
|
||||||
|
myself()->_getOpenId()
|
||||||
|
);
|
||||||
$params = array(
|
$params = array(
|
||||||
'c' => 'BcService',
|
'c' => 'BcService',
|
||||||
'a' => 'activate1155Nft',
|
'a' => 'activate1155Nft',
|
||||||
'account_id' => myself()->_getAccountId(),
|
'account_id' => myself()->_getAccountId(),
|
||||||
'session_id' => myself()->_getSessionId(),
|
'session_id' => myself()->_getSessionId(),
|
||||||
'account' => myself()->_getOpenId(),
|
'account' => myself()->_getOpenId(),
|
||||||
|
'token_id' => $tokenId,
|
||||||
'item_uniid' => $itemDb['item_uniid'],
|
'item_uniid' => $itemDb['item_uniid'],
|
||||||
'item_id' => $itemDb['item_id'],
|
'item_id' => $itemDb['item_id'],
|
||||||
'num' => $num,
|
'num' => $num,
|
||||||
@ -269,6 +277,7 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
'account_id' => myself()->_getAccountId(),
|
'account_id' => myself()->_getAccountId(),
|
||||||
'session_id' => myself()->_getSessionId(),
|
'session_id' => myself()->_getSessionId(),
|
||||||
'account' => myself()->_getOpenId(),
|
'account' => myself()->_getOpenId(),
|
||||||
|
'token_id' => $itemDb['item_id'],
|
||||||
'item_uniid' => $itemUniId,
|
'item_uniid' => $itemUniId,
|
||||||
'item_id' => $itemId,
|
'item_id' => $itemId,
|
||||||
'num' => $num
|
'num' => $num
|
||||||
|
Loading…
x
Reference in New Issue
Block a user