作者 耿培杰

修改我的订单

... ... @@ -287,6 +287,7 @@ class Member extends Api
else $where['type'] = ['eq', 3];
$list = $orderModel->selectPageData($where, $page, $limit);
$data = [];
halt($list);
foreach ($list['list'] as $k => $order) {
if ($order['status'] == -1) {
$order['status_text'] = '已取消';
... ... @@ -321,7 +322,6 @@ class Member extends Api
$tmp['pay_total'] += $orderInfo[$kk]['goods_total'];
$tmp['goods_image'][] = $orderInfo[$kk]['goods_image'];
}
halt($tmp);
$data[] = $tmp;
}
} elseif ($order['status'] == 3) {
... ...