This commit is contained in:
aozhiwei 2023-06-19 13:21:37 +08:00
parent 45e30c08a7
commit 7b52018da4

View File

@ -4,7 +4,7 @@ namespace services;
class BlockChainService { class BlockChainService {
public static function gameItemMallBuy($actionType, $account, $price) public static function gameItemMallBuy($actionType, $price)
{ {
if (!($actionType > Transaction::BUY_BEGIN_ACTION_TYPE && if (!($actionType > Transaction::BUY_BEGIN_ACTION_TYPE &&
$actionType < Transaction::BUY_END_ACTION_TYPE)) { $actionType < Transaction::BUY_END_ACTION_TYPE)) {
@ -34,10 +34,10 @@ class BlockChainService {
Transaction::add( Transaction::add(
$transId, $transId,
$actionType, $actionType,
$tokenId, '', //$tokenId,
$tokenType, '', //$tokenType,
$itemUniId, 0, //$itemUniId,
$itemId, 0, //$itemId,
1 1
); );
myself()->_rspData(array( myself()->_rspData(array(