Commit 5329cd7c authored by liuyuzhen's avatar liuyuzhen

存储原订单金额

parent aba76c12
...@@ -523,6 +523,7 @@ class OrderConfirmUtil { ...@@ -523,6 +523,7 @@ class OrderConfirmUtil {
$order['add_time'] = TIMESTAMP; $order['add_time'] = TIMESTAMP;
$order['payment_type'] = $storeCarts['payway']; $order['payment_type'] = $storeCarts['payway'];
$order['order_amount'] = $storeCarts['orderAmount']; $order['order_amount'] = $storeCarts['orderAmount'];
$order['origin_amount'] = $storeCarts['orderAmount'];
if($order['payment_type'] == 1 &&$storeCarts['orderAmount']>0){ if($order['payment_type'] == 1 &&$storeCarts['orderAmount']>0){
$needPayFlag = \Our\ApiConst::one; $needPayFlag = \Our\ApiConst::one;
$order['order_state'] = \Our\ApiConst::orderStateWaitPay ; $order['order_state'] = \Our\ApiConst::orderStateWaitPay ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment