From 7b52018da4a0da8fac1bb4c5d0bc567febcd3a0f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 19 Jun 2023 13:21:37 +0800 Subject: [PATCH] 1 --- webapp/services/BlockChainService.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp/services/BlockChainService.php b/webapp/services/BlockChainService.php index a0956dfb..85dce8ce 100644 --- a/webapp/services/BlockChainService.php +++ b/webapp/services/BlockChainService.php @@ -4,7 +4,7 @@ namespace services; class BlockChainService { - public static function gameItemMallBuy($actionType, $account, $price) + public static function gameItemMallBuy($actionType, $price) { if (!($actionType > Transaction::BUY_BEGIN_ACTION_TYPE && $actionType < Transaction::BUY_END_ACTION_TYPE)) { @@ -34,10 +34,10 @@ class BlockChainService { Transaction::add( $transId, $actionType, - $tokenId, - $tokenType, - $itemUniId, - $itemId, + '', //$tokenId, + '', //$tokenType, + 0, //$itemUniId, + 0, //$itemId, 1 ); myself()->_rspData(array(