diff --git a/app/data/controller/api/auth/Order.php b/app/data/controller/api/auth/Order.php index 5b412771c..68938beef 100644 --- a/app/data/controller/api/auth/Order.php +++ b/app/data/controller/api/auth/Order.php @@ -152,7 +152,7 @@ class Order extends Auth $order['amount_reduct'] = $order['amount_goods']; } // 统计订单金额 - $order['amount_real'] = $order['discount_amount'] - $order['amount_reduct']; + $order['amount_real'] = $order['amount_discount'] - $order['amount_reduct']; $order['amount_total'] = $order['amount_goods']; // 写入商品数据 $this->app->db->transaction(function () use ($order, $items) {