WIN-2308041133\Administrator 3 days ago
parent
commit
1ca63e4cd1
1 changed files with 12 additions and 12 deletions
  1. 12 12
      app/services/activity/coupon/StoreCouponUserServices.php

+ 12 - 12
app/services/activity/coupon/StoreCouponUserServices.php

@@ -177,18 +177,18 @@ class StoreCouponUserServices extends BaseServices
                 $count = 0;
                 $count = 0;
                 switch ($coupon['applicable_type']) {
                 switch ($coupon['applicable_type']) {
                     case 0:
                     case 0:
-                    case 3:
-                        foreach ($cartInfo as $cart) {
-                            $price += bcmul((string)$cart['truePrice'], (string)$cart['cart_num'], 2);
-                            $count++;
-                        }
-                        break;
-                    case 4:
-                        foreach ($cartInfo as $cart) {
-                            $price += bcmul((string)$cart['truePrice'], (string)$cart['cart_num'], 2);
-                            $count++;
-                        }
-                        break;
+//                    case 3:
+//                        foreach ($cartInfo as $cart) {
+//                            $price += bcmul((string)$cart['truePrice'], (string)$cart['cart_num'], 2);
+//                            $count++;
+//                        }
+//                        break;
+//                    case 4:
+//                        foreach ($cartInfo as $cart) {
+//                            $price += bcmul((string)$cart['truePrice'], (string)$cart['cart_num'], 2);
+//                            $count++;
+//                        }
+//                        break;
                     case 1://品类券
                     case 1://品类券
                         /** @var StoreCategoryServices $storeCategoryServices */
                         /** @var StoreCategoryServices $storeCategoryServices */
                         $storeCategoryServices = app()->make(StoreCategoryServices::class);
                         $storeCategoryServices = app()->make(StoreCategoryServices::class);