Kirin il y a 3 mois
Parent
commit
2503ec6872
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/services/order/StoreOrderComputedServices.php

+ 1 - 1
app/services/order/StoreOrderComputedServices.php

@@ -117,7 +117,7 @@ class StoreOrderComputedServices extends BaseServices
         $seckillId = $this->paramData['seckill_id'] ?? 0;
         $bargainId = $this->paramData['bargainId'] ?? 0;
         $newcomerId = $this->paramData['newcomerId'] ?? 0;
-        $isActivity = $combinationId || $seckillId || $bargainId || $newcomerId;
+        $isActivity = $combinationId || $seckillId || $bargainId || $newcomerId || ($priceGroup['awardPrice'] > 0);
         $type = (int)$deduction['type'] ?? 0;
         $results = batch([
             // 'coupon' => function() use ($couponId, $uid, $cartInfo, $payPrice, $isActivity, $promotions) {