WIN-2308041133\Administrator преди 2 месеца
родител
ревизия
427f0579e6
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      app/models/store/StoreOrder.php

+ 0 - 2
app/models/store/StoreOrder.php

@@ -328,10 +328,8 @@ class StoreOrder extends BaseModel
                 if (!$combinationId) $combinationId = $cart['combination_id'];
                 $cartInfoGainIntegral = isset($cart['productInfo']['give_integral']) ? bcmul($cart['cart_num'], $cart['productInfo']['give_integral'], 2) : 0;
                 $gainIntegral = bcadd($gainIntegral, $cartInfoGainIntegral, 2);
-                @file_put_contents('quanju.txt',$is_wholesale."-是否是批发商品\r\n",8);
 
                 if ($is_wholesale!= -1){
-                    @file_put_contents('quanju.txt',$is_wholesale."-是否是批发商品2\r\n",8);
                     if ($is_wholesale != intval($cart['productInfo']['is_wholesale']) ){
                         return self::setErrorInfo('批发商品和普通商品不能混合购买!', true);
                     }