1
This commit is contained in:
parent
e2300b35f4
commit
11e41d3824
@ -190,8 +190,6 @@ class MarketController extends BaseController {
|
|||||||
$funcId,
|
$funcId,
|
||||||
myself()->_getNowTime(),
|
myself()->_getNowTime(),
|
||||||
$buyerAddress);
|
$buyerAddress);
|
||||||
$tokenId = $orderId;
|
|
||||||
$tokenType = 0;
|
|
||||||
$fieldsKv = array(
|
$fieldsKv = array(
|
||||||
'game_id' => $gameId,
|
'game_id' => $gameId,
|
||||||
'func_id' => $funcId,
|
'func_id' => $funcId,
|
||||||
@ -215,12 +213,10 @@ class MarketController extends BaseController {
|
|||||||
$fieldsKv['bc_paid'] = 1;
|
$fieldsKv['bc_paid'] = 1;
|
||||||
for ($i = 1; $i <= 3; ++$i) {
|
for ($i = 1; $i <= 3; ++$i) {
|
||||||
if ($i <= 3) {
|
if ($i <= 3) {
|
||||||
$orderId = BuyRecord::genOrderId($gameId,
|
$tokenId = phpcommon\setOrderIdSubIdx($orderId, $i);
|
||||||
$funcId,
|
$tokenType = 0;
|
||||||
myself()->_getNowTime(),
|
|
||||||
$buyerAddress);
|
|
||||||
$fieldsKv['bc_mint_need' . $i] = 1;
|
$fieldsKv['bc_mint_need' . $i] = 1;
|
||||||
$fieldsKv['bc_mint_tokenid' . $i] = $orderId;
|
$fieldsKv['bc_mint_tokenid' . $i] = $tokenId;
|
||||||
$fieldsKv['bc_mint_itemid' . $i] = $itemId;
|
$fieldsKv['bc_mint_itemid' . $i] = $itemId;
|
||||||
$fieldsKv['bc_mint_token_type' . $i] = $tokenType;
|
$fieldsKv['bc_mint_token_type' . $i] = $tokenType;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user