Prechádzať zdrojové kódy

用户端使用优惠券

whitefang 1 rok pred
rodič
commit
3ebe23e4c3
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      app/api/logic/ServiceOrderLogic.php

+ 1 - 0
app/api/logic/ServiceOrderLogic.php

@@ -83,6 +83,7 @@ class ServiceOrderLogic extends BaseLogic
                 }else{
                     $order_coupon_amount = $user_coupon['amount'];
                 }
+                dd($order_coupon_amount);
                 $order_amount = ($order_coupon_amount>$user_coupon['max_deductible_price'])?($order_amount-$user_coupon['max_deductible_price']):($order_amount-$order_coupon_amount);
 
                 dd($order_amount);