1
This commit is contained in:
parent
c76f5e1c5c
commit
99183cdb8b
@ -9,6 +9,15 @@ require_once ('services/callback/common/SignatureService.php');
|
|||||||
|
|
||||||
use phpcommon\SqlHelper;
|
use phpcommon\SqlHelper;
|
||||||
|
|
||||||
|
/*
|
||||||
|
const params = {
|
||||||
|
'c': 'Callback',
|
||||||
|
'a': 'dispatch',
|
||||||
|
'action': 'gameItemMallBuyOk',
|
||||||
|
'trans_id': transId,
|
||||||
|
'order_id': orderId,
|
||||||
|
};
|
||||||
|
*/
|
||||||
class GameItemMallBuyOk {
|
class GameItemMallBuyOk {
|
||||||
|
|
||||||
public function process()
|
public function process()
|
||||||
@ -40,15 +49,15 @@ class GameItemMallBuyOk {
|
|||||||
));
|
));
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
// 修改订单状态
|
// 修改订单状态
|
||||||
$this->_updateOrderState($address,$orderId);
|
$this->_updateOrderState($address,$orderId);
|
||||||
|
|
||||||
// 小胡 回调的处理
|
// 小胡 回调的处理
|
||||||
if ($this->_isVirtualItem($orderDb['item_id'])){
|
if ($this->_isVirtualItem($orderDb['item_id'])){
|
||||||
$passCbService = new BuyPassCbService();
|
$passCbService = new BuyPassCbService();
|
||||||
$passCbService->process($orderDb);
|
$passCbService->process($orderDb);
|
||||||
} else {
|
} else {
|
||||||
// 老宋 处理...
|
// 老宋 处理...
|
||||||
$shopGoodsCbService = new BuyShopGoodsCbService();
|
$shopGoodsCbService = new BuyShopGoodsCbService();
|
||||||
$shopGoodsCbService->process($orderDb);
|
$shopGoodsCbService->process($orderDb);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user