...
|
...
|
@@ -323,6 +323,7 @@ class IndexController extends AbstractAction |
|
|
'isOrdinaryCart' => ($cartType !== 'advance'),
|
|
|
'orderEnsure' => $order
|
|
|
);
|
|
|
|
|
|
$this->setTitle('确认订单');
|
|
|
$this->setNavHeader('确认订单', $returnUrl, false); // 不显示右上角home按钮
|
|
|
|
...
|
...
|
@@ -448,6 +449,7 @@ class IndexController extends AbstractAction |
|
|
|
|
|
/* 判断是否是友盟过来的用户 */
|
|
|
$userAgent = null;
|
|
|
$unionKey = '';
|
|
|
if (!empty($_COOKIE['_QYH_UNION'])) {
|
|
|
/* 解密客户端联盟信息 */
|
|
|
$unionKey = AuthCode::decode($_COOKIE['_QYH_UNION'], 'q_union_yohobuy');
|
...
|
...
|
@@ -457,7 +459,7 @@ class IndexController extends AbstractAction |
|
|
$userAgent = isset($unionInfo['client_id']) ? 'YOHO!Buy/3.8.2.259(Model/PC;Channel/' . $unionInfo['client_id'] . ';uid/' . $uid . ')' : null;
|
|
|
}
|
|
|
|
|
|
$result = CartModel::orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceTitle, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin, $skuList, $userAgent);
|
|
|
$result = CartModel::orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceTitle, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin, $skuList, $unionKey, $userAgent);
|
|
|
|
|
|
// 记录下单异常的数据
|
|
|
if (empty($result)) {
|
...
|
...
|
|