...
|
...
|
@@ -370,7 +370,7 @@ class CartModel |
|
|
|
|
|
// cookie保存的数据
|
|
|
if (!empty($orderInfo)) {
|
|
|
$orderCompute = self::orderCompute($uid, $cartType, $orderInfo['deliveryId'], $orderInfo['paymentTypeId'], $orderInfo['couponCode'], $orderInfo['yohoCoin'], $skuList);
|
|
|
$orderCompute = self::orderCompute($uid, $cartType, $orderInfo['deliveryId'], $orderInfo['paymentType'], $orderInfo['paymentTypeId'] $orderInfo['couponCode'], $orderInfo['yohoCoin'], $skuList);
|
|
|
}
|
|
|
|
|
|
// 根据地址id查询地址信息
|
...
|
...
|
@@ -499,7 +499,7 @@ class CartModel |
|
|
$onePay['name'] = $pay['payment_type_name'];
|
|
|
$onePay['isSupport'] = $pay['is_support'] === 'Y';
|
|
|
// $onePay['default'] = ($pay['default'] === 'Y');
|
|
|
if ($onePay['paymentType'] == 1) {
|
|
|
if (isset($orderInfo['paymentType']) && $onePay['paymentType'] === $orderInfo['paymentType']) {
|
|
|
$onePay['recommend'] = true;
|
|
|
}
|
|
|
|
...
|
...
|
|