...
|
...
|
@@ -190,6 +190,11 @@ class OrderModel |
|
|
$detail['traceOrder']['orderDate'] = date('Y.m.d H:i:s', $orderDetail['create_time']);
|
|
|
$expressInfo = self::getExpressInfo($orderCode, $uid, $orderDetail['payment_type'], $orderDetail['create_time'], true);
|
|
|
$detail['traceOrder']['logistics'] = $expressInfo['logistics']; //物流信息
|
|
|
if(empty($expressInfo['logistics'][0])){
|
|
|
$detail['hastrace']=false;
|
|
|
}else{
|
|
|
$detail['hastrace']=true;
|
|
|
}
|
|
|
$detail['traceOrder']['logisticsCompany'] = $expressInfo['logisticsCompany'];
|
|
|
$detail['traceOrder']['courierNumbe'] = $expressInfo['courierNumbe'];
|
|
|
//虚拟商品
|
...
|
...
|
@@ -338,7 +343,7 @@ class OrderModel |
|
|
$result['courierNumbe'] = '';
|
|
|
if ($paymetType == 1) {
|
|
|
if ($isDetail) {
|
|
|
$result['logistics'][] = array(date('Y-m-d H:i:s', $createTime), ' ', '您的订单已提交,等待付款');
|
|
|
$result['logistics'][] = '';//array(date('Y-m-d H:i:s', $createTime), ' ', '您的订单已提交,等待付款');
|
|
|
}
|
|
|
else {
|
|
|
$result['logistics'][] = date('Y-m-d H:i:s', $createTime) . ' ' . '您的订单已提交,等待付款';
|
...
|
...
|
@@ -376,7 +381,7 @@ class OrderModel |
|
|
}
|
|
|
}
|
|
|
//把最初的处理放最后
|
|
|
//$result['logistics'][] = $logisticsTmp;
|
|
|
$result['logistics'][] = $logisticsTmp;
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|