Commit 016c1778 by 孙龙

订单导出

parent 722e3680
......@@ -27,7 +27,7 @@ class OrderApiController extends BaseController
$params = $request->all();
$type = arrayGet($params, "type");
$order_id = 69;
$order_id = 203;
$orderAddressList = OrderService::getOrderAddress($order_id);
$orderAddressList = arrayChangeKeyByField($orderAddressList,"order_address_type");
// dump($orderAddressList);
......
......@@ -47,7 +47,7 @@ class OrderService extends BaseService
}
}
$orderList["order_items"] = $orderItems;
$orderList["total_amount"] = $orderList["order_amount"]+$orderList["payServiceFee"]+$orderList["carriage"]+$orderList["carriage"];
$orderList["total_amount"] = $orderList["order_amount"]+$orderList["payServiceFee"]+$orderList["carriage"];
//支付手续费
$orderList["payServiceFee_format"] = decimal_number_format($orderList["payServiceFee"],DIGITS_TWO,2);
//运费
......
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 sign in to comment