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(