1
This commit is contained in:
parent
b9a1d30e00
commit
3cc5568203
@ -27,17 +27,19 @@ error_log("GameItemMallBuyOk1:process");
|
||||
//1:已发货 2:订单不存在
|
||||
if (!$orderDb){
|
||||
error_log("GameItemMallBuyOk2-1:订单不存在");
|
||||
return json_encode(array(
|
||||
echo json_encode(array(
|
||||
'errcode' => 2,
|
||||
'errmsg' => "Order does not exist",
|
||||
));
|
||||
die ;
|
||||
}
|
||||
if ($orderDb['status'] == 1){
|
||||
error_log("GameItemMallBuyOk2-2:订单已发货");
|
||||
return json_encode(array(
|
||||
echo json_encode(array(
|
||||
'errcode' => 1,
|
||||
'errmsg' => "Order shipped",
|
||||
));
|
||||
die;
|
||||
}
|
||||
error_log("GameItemMallBuyOk2-3:updateOrderState begin");
|
||||
// 修改订单状态
|
||||
@ -54,7 +56,7 @@ error_log("GameItemMallBuyOk1:process");
|
||||
$shopGoodsCbService->process($orderDb);
|
||||
|
||||
}
|
||||
return json_encode(array(
|
||||
echo json_encode(array(
|
||||
'errcode' => 0,
|
||||
'errmsg' => "callback success",
|
||||
));
|
||||
|
Loading…
x
Reference in New Issue
Block a user