From 419ca055af6d37371149727fbc8c59c7dc3b4c63 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 13 Jul 2023 11:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0net=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/BlockChainController.class.php | 3 ++- webapp/services/BlockChainService.php | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/webapp/controller/BlockChainController.class.php b/webapp/controller/BlockChainController.class.php index f6470ba1..d64cfe26 100644 --- a/webapp/controller/BlockChainController.class.php +++ b/webapp/controller/BlockChainController.class.php @@ -230,7 +230,8 @@ class BlockChainController extends BaseAuthedController { 'token_id' => $tokenId, 'token_type' => $tokenType, 'item_uniid' => $itemUniId, - 'item_id' => $itemId + 'item_id' => $itemId, + 'net_id' => NET_ID ); { $url = self::getWeb3ServiceUrl(); diff --git a/webapp/services/BlockChainService.php b/webapp/services/BlockChainService.php index 9dafdbd7..95b8f4df 100644 --- a/webapp/services/BlockChainService.php +++ b/webapp/services/BlockChainService.php @@ -45,6 +45,7 @@ class BlockChainService { 'a' => 'buy', 'account' => $account, 'price' => $price, + 'net_id' => NET_ID ); { $url = self::getWeb3ServiceUrl(); @@ -118,7 +119,8 @@ class BlockChainService { 'a' => 'buy', 'account' => $account, 'price' => $price, - 'owner_address' => $owner_address, + 'seller' => $owner_address, + 'net_id' => NET_ID ); { $url = self::getWeb3ServiceUrl();