1
This commit is contained in:
parent
45e30c08a7
commit
7b52018da4
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user