|
@@ -35,14 +35,17 @@ try
|
|
|
{
|
|
|
if ($status == 1)
|
|
|
{
|
|
|
+ Log::record("push oms order_sn={$order_sn},express={$express_id},no={$logistics_no}",Log::DEBUG);
|
|
|
account_helper::onOrderSend($order_sn,$logistics_company,$logistics_no);
|
|
|
$helper = new pay_helper();
|
|
|
$ret = $helper->OnOmsNotify($order_sn,$express_id,$logistics_no);
|
|
|
|
|
|
if ($ret) {
|
|
|
QueueClient::push('subscribeKDN',array('order_sn'=>$order_sn));
|
|
|
+ Log::record("push oms success",Log::DEBUG);
|
|
|
echo 'SUCCESS';
|
|
|
} else {
|
|
|
+ Log::record("push oms error",Log::DEBUG);
|
|
|
echo 'SUCCESS';
|
|
|
}
|
|
|
}
|