xieruidong 2 years ago
parent
commit
58ed86f62b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/Orders.php

+ 1 - 1
application/common/model/Orders.php

@@ -284,7 +284,7 @@ class Orders extends Model
     {
         self::beforeInsert(function (self $orders){
             #优惠总金额
-            $orders['amount_discount']=bcAddAll($orders['amount_coupon']??0,$orders['amount_coupon_kill']);
+            //$orders['amount_discount']=bcAddAll($orders['amount_coupon']??0,$orders['amount_coupon_kill']);
             #过期时间
             $orders['continue_expire_time']=time()+self::EXP_PAY;
             #去除无发票的