更新购物车

parent 45d01d2e
Showing with 1 additions and 1 deletions
......@@ -63,7 +63,7 @@ class CartService
$temp["buy_price"] = $buy_price;
$checkHas = CartModel::where(["user_id"=>$user_id,"goods_id"=>$goods_id,"status"=>1])->first();
if ($buy_number < \Arr::get($skuInfo,"moq") || $buy_number < $skuInfo["stock"] ){
if ($buy_number < \Arr::get($skuInfo,"moq") || $buy_number > $skuInfo["stock"] ){
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment