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 {
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(