Browse Source

用户端使用优惠券

whitefang 1 year ago
parent
commit
e092dda590
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/api/logic/ServiceOrderLogic.php

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

@@ -84,6 +84,8 @@ class ServiceOrderLogic extends BaseLogic
                     $order_coupon_amount = $user_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);
             }
 
             //生成服务工单