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