mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-24 10:22:32 +08:00
Update Order.php
This commit is contained in:
parent
b55c13ebce
commit
09ca9769d8
@ -152,7 +152,7 @@ class Order extends Auth
|
|||||||
$order['amount_reduct'] = $order['amount_goods'];
|
$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'];
|
$order['amount_total'] = $order['amount_goods'];
|
||||||
// 写入商品数据
|
// 写入商品数据
|
||||||
$this->app->db->transaction(function () use ($order, $items) {
|
$this->app->db->transaction(function () use ($order, $items) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user