...
This commit is contained in:
parent
a89b0ed529
commit
455598b542
@ -29,14 +29,14 @@ class BlockChainService {
|
|||||||
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)) {
|
||||||
error_log('gameItemMallBuy action_type error:' . $actionType);
|
error_log('gameItemMallBuy action_type error:' . $actionType);
|
||||||
myself()->_rspErr(500, 'server internal error');
|
myself()->_rspErr(500, 'server internal error 1');
|
||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$account = myself()->_getAddress();
|
$account = myself()->_getAddress();
|
||||||
if (empty($account)) {
|
if (empty($account)) {
|
||||||
error_log('gameItemMallBuy address is emtpy:' . myself()->_getAccountId());
|
error_log('gameItemMallBuy address is emtpy:' . myself()->_getAccountId());
|
||||||
myself()->_rspErr(500, 'server internal error');
|
myself()->_rspErr(500, 'server internal error 2');
|
||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ class BlockChainService {
|
|||||||
($url,
|
($url,
|
||||||
$params,
|
$params,
|
||||||
$response)) {
|
$response)) {
|
||||||
myself()->_rspErr(500, 'server internal error');
|
myself()->_rspErr(500, 'server internal error 3');
|
||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -76,7 +76,7 @@ class BlockChainService {
|
|||||||
'params' => $rspObj['params']
|
'params' => $rspObj['params']
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
myself()->_rspErr(500, 'server internal error');
|
myself()->_rspErr(500, 'server internal error 4');
|
||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user