|
@@ -216,9 +216,9 @@ class StoreOrderCreateServices extends BaseServices
|
|
|
if ($cart['productInfo']['is_gift'] == 1) {
|
|
if ($cart['productInfo']['is_gift'] == 1) {
|
|
|
$order_type = 1;
|
|
$order_type = 1;
|
|
|
} elseif ($cart['productInfo']['is_repeat'] == 1) {
|
|
} elseif ($cart['productInfo']['is_repeat'] == 1) {
|
|
|
- $order_type = 1;
|
|
|
|
|
|
|
+ $order_type = 2;
|
|
|
} elseif ($cart['productInfo']['is_free'] == 1) {
|
|
} elseif ($cart['productInfo']['is_free'] == 1) {
|
|
|
- $order_type = 1;
|
|
|
|
|
|
|
+ $order_type = 3;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (count($cartInfo) == 1 && isset($cartInfo[0]['productInfo']['presale']) && $cartInfo[0]['productInfo']['presale'] == 1) {
|
|
if (count($cartInfo) == 1 && isset($cartInfo[0]['productInfo']['presale']) && $cartInfo[0]['productInfo']['presale'] == 1) {
|