From c20573152461bb7e88ae786a4593fb1c31ac787b Mon Sep 17 00:00:00 2001 From: songliang Date: Tue, 4 Jul 2023 14:54:53 +0800 Subject: [PATCH] ... --- webapp/services/BlockChainService.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/webapp/services/BlockChainService.php b/webapp/services/BlockChainService.php index b9f10e46..eb2ca5ee 100644 --- a/webapp/services/BlockChainService.php +++ b/webapp/services/BlockChainService.php @@ -120,22 +120,22 @@ class BlockChainService { $rspObj = json_decode($response, true); if ($rspObj['errcode'] == 0) { $transId = $rspObj['trans_id']; - Transaction::add( - $transId, - $actionType, - '', //$tokenId, - '', //$tokenType, - 0, //$itemUniId, - $itemId, //$itemId, - $itemNum, - 1 - ); + // Transaction::add( + // $transId, + // $actionType, + // '', //$tokenId, + // '', //$tokenType, + // 0, //$itemUniId, + // $itemId, //$itemId, + // $itemNum, + // 1 + // ); return array( 'trans_id' => $transId, 'params' => $rspObj['params'] ); } else { - myself()->_rspErr(500, 'server internal error 4'); + myself()->_rspErr(500, 'server internal error 4' . $rspObj); die(); return; }