|
|
@@ -77,7 +77,7 @@ class Order extends BaseController
|
|
77
|
77
|
// 导出
|
|
78
|
78
|
$is_excel = request()->param('is_excel', 0);
|
|
79
|
79
|
|
|
80
|
|
- $result = $this->repository->merchantGetList($where, $page, $limit);
|
|
|
80
|
+ $result = $this->repository->merchantGetList($where, $page, $limit, $is_excel);
|
|
81
|
81
|
|
|
82
|
82
|
if ($is_excel == 1) {
|
|
83
|
83
|
$data = $result['list'];
|
|
|
@@ -91,9 +91,9 @@ class Order extends BaseController
|
|
91
|
91
|
$item['real_name'], // 收货人
|
|
92
|
92
|
$item['merchant']['mer_name'] ?? '', // 商户名称
|
|
93
|
93
|
// $item['orderProduct'][0]['cart_info']['product']['image'],
|
|
94
|
|
- $item['orderProduct'][0]['cart_info']['product']['store_name'] . ' | ' . $item['orderProduct'][0]['cart_info']['productAttr']['sku'],
|
|
95
|
|
- $item['orderProduct'][0]['cart_info']['productAttr']['price'],
|
|
96
|
|
- $item['orderProduct'][0]['product_num'],
|
|
|
94
|
+ ($item['orderProduct'][0]['cart_info']['product']['store_name'] ?? '') . ' | ' . ($item['orderProduct'][0]['cart_info']['productAttr']['sku'] ?? ''),
|
|
|
95
|
+ $item['orderProduct'][0]['cart_info']['productAttr']['price'] ?? 0.00,
|
|
|
96
|
+ $item['orderProduct'][0]['product_num'] ?? 0,
|
|
97
|
97
|
$item['pay_price'], // 订单金额
|
|
98
|
98
|
$item['fzone_pay_note'], // 支付方式
|
|
99
|
99
|
$item['paid'] == 0 ? "未支付" : "已支付", // 支付状态
|