From c64e930a6d6e162c56ad2e0b669c62a96061fa2e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 31 Aug 2023 13:14:21 +0800 Subject: [PATCH] 1 --- webapp/services/BlockChainService.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp/services/BlockChainService.php b/webapp/services/BlockChainService.php index 3876823d..9cb3b7bb 100644 --- a/webapp/services/BlockChainService.php +++ b/webapp/services/BlockChainService.php @@ -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 && $actionType < Transaction::BUY_END_ACTION_TYPE)) { @@ -188,6 +188,7 @@ class BlockChainService { 'account' => $account, 'currency_name' => $currency, 'price' => $price, + 'ids' => json_encode($ids), 'net_id' => NET_ID ); { @@ -211,8 +212,8 @@ class BlockChainService { '', //$tokenId, '', //$tokenType, 0, //$itemUniId, - $itemId, //$itemId, - $itemNum, + 0, //$itemId, //$itemId, + 0, //$itemNum, 1 ); return array(