|
|
@@ -226,10 +226,10 @@ class StoreOrderCreateServices extends BaseServices
|
|
|
if (!$advanceId) $advanceId = $cart['advance_id'];
|
|
|
$cartInfoGainIntegral = isset($cart['productInfo']['give_integral']) ? bcmul((string)$cart['cart_num'], (string)$cart['productInfo']['give_integral'], 0) : 0;
|
|
|
$gainIntegral = bcadd((string)$gainIntegral, (string)$cartInfoGainIntegral, 0);
|
|
|
-// if ($cart['productAttr']['product']['is_lb']==1){
|
|
|
-// $is_lb = 1;
|
|
|
-// }
|
|
|
- @file_put_contents('quanju.txt', json_encode($cart) . "-购物车\r\n", 8);
|
|
|
+ if ($cart['productInfo']['is_lb']==1){
|
|
|
+ $is_lb = 1;
|
|
|
+ }
|
|
|
+// @file_put_contents('quanju.txt', json_encode($cart) . "-购物车\r\n", 8);
|
|
|
|
|
|
}
|
|
|
if (count($cartInfo) == 1 && isset($cartInfo[0]['productInfo']['presale']) && $cartInfo[0]['productInfo']['presale'] == 1) {
|