WIN-2308041133\Administrator 1 month ago
parent
commit
b71bc971bf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/store/StoreOrder.php

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

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