1
This commit is contained in:
parent
0d28c4b79b
commit
d7b3b5b6a6
@ -41,7 +41,6 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
)));
|
)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
error_log(json_encode($_REQUEST));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function active721Nft()
|
public function active721Nft()
|
||||||
@ -216,7 +215,6 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
'is_mint' => $isMint ? 1 : 0,
|
'is_mint' => $isMint ? 1 : 0,
|
||||||
'net_id' => NET_ID
|
'net_id' => NET_ID
|
||||||
);
|
);
|
||||||
error_log(json_encode($params));
|
|
||||||
{
|
{
|
||||||
$url = self::getWeb3ServiceUrl();
|
$url = self::getWeb3ServiceUrl();
|
||||||
$response = '';
|
$response = '';
|
||||||
@ -228,7 +226,6 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
error_log($response);
|
|
||||||
$rspObj = json_decode($response, true);
|
$rspObj = json_decode($response, true);
|
||||||
if ($rspObj['errcode'] == 0) {
|
if ($rspObj['errcode'] == 0) {
|
||||||
$transId = $rspObj['trans_id'];
|
$transId = $rspObj['trans_id'];
|
||||||
|
@ -33,7 +33,6 @@ class MailController extends BaseAuthedController {
|
|||||||
myself()->_rspErr(500, 'server internal error 4, url:');
|
myself()->_rspErr(500, 'server internal error 4, url:');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
error_log(json_encode($dataJson));
|
|
||||||
if ($dataJson['account_id'] != myself()->_getAccountId()) {
|
if ($dataJson['account_id'] != myself()->_getAccountId()) {
|
||||||
myself()->_rspErr(500, 'server internal error 2, url:');
|
myself()->_rspErr(500, 'server internal error 2, url:');
|
||||||
return;
|
return;
|
||||||
|
@ -373,7 +373,7 @@ class OtherController extends BaseAuthedController {
|
|||||||
'model' => $packageId
|
'model' => $packageId
|
||||||
));
|
));
|
||||||
$examining = !empty($row) && $row['version'] == $version && $row['is_auditing'] ? 1 : 0;
|
$examining = !empty($row) && $row['version'] == $version && $row['is_auditing'] ? 1 : 0;
|
||||||
$con = ServerSwitchService::getGameSwitch();
|
$con = services\ServerSwitchService::getGameSwitch();
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'data' => $examining ? $con['auditing'] : $con['normal']
|
'data' => $examining ? $con['auditing'] : $con['normal']
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user