This commit is contained in:
aozhiwei 2022-04-03 22:41:45 +08:00
parent e2300b35f4
commit 11e41d3824

View File

@ -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;
}