This commit is contained in:
aozhiwei 2023-08-31 13:14:21 +08:00
parent 7402a42858
commit c64e930a6d

View File

@ -166,7 +166,7 @@ class BlockChainService {
} }
} }
public static function beNftMallTransBuyPlanet($address, $itemNum, $currency, $price) public static function beNftMallTransBuyPlanet($address, $ids, $currency, $price)
{ {
if (!($actionType > Transaction::BUY_BEGIN_ACTION_TYPE && if (!($actionType > Transaction::BUY_BEGIN_ACTION_TYPE &&
$actionType < Transaction::BUY_END_ACTION_TYPE)) { $actionType < Transaction::BUY_END_ACTION_TYPE)) {
@ -188,6 +188,7 @@ class BlockChainService {
'account' => $account, 'account' => $account,
'currency_name' => $currency, 'currency_name' => $currency,
'price' => $price, 'price' => $price,
'ids' => json_encode($ids),
'net_id' => NET_ID 'net_id' => NET_ID
); );
{ {
@ -211,8 +212,8 @@ class BlockChainService {
'', //$tokenId, '', //$tokenId,
'', //$tokenType, '', //$tokenType,
0, //$itemUniId, 0, //$itemUniId,
$itemId, //$itemId, 0, //$itemId, //$itemId,
$itemNum, 0, //$itemNum,
1 1
); );
return array( return array(