1
This commit is contained in:
parent
99183cdb8b
commit
11176482f5
@ -23,12 +23,11 @@ class GameItemMallBuyOk {
|
||||
public function process()
|
||||
{
|
||||
SignatureService::web3ServiceCheck();
|
||||
$address = getReqVal('address', '');
|
||||
$orderId = getReqVal('order_id', '');
|
||||
|
||||
error_log("GameItemMallBuyOk-------------------");
|
||||
$orderDb = SqlHelper::ormSelectOne(
|
||||
myself()->_getMysql($address),
|
||||
myself()->_getMysql(''),
|
||||
't_bc_order',
|
||||
array(
|
||||
'order_id' => $orderId
|
||||
@ -50,7 +49,7 @@ class GameItemMallBuyOk {
|
||||
die;
|
||||
}
|
||||
// 修改订单状态
|
||||
$this->_updateOrderState($address,$orderId);
|
||||
$this->_updateOrderState($orderId);
|
||||
|
||||
// 小胡 回调的处理
|
||||
if ($this->_isVirtualItem($orderDb['item_id'])){
|
||||
@ -77,9 +76,9 @@ class GameItemMallBuyOk {
|
||||
);
|
||||
}
|
||||
|
||||
private function _updateOrderState($address,$transId){
|
||||
private function _updateOrderState($transId){
|
||||
SqlHelper::update
|
||||
(myself()->_getMysql($address),
|
||||
(myself()->_getMysql(''),
|
||||
't_bc_order',
|
||||
array(
|
||||
'order_id' => $transId
|
||||
|
Loading…
x
Reference in New Issue
Block a user