作者 耿培杰

修改订单详情接口

... ... @@ -1344,7 +1344,7 @@ class Order extends Api
$order['ticketcode'] = '';
}
$detailInfo = $this->orderDetailModel->where('id', $param['order_detail_id'])->field('shipper_code,logistic_code,status')->find();
if (!empty($order['team_group_status'] && $order['team_group_status'] == 1 && $order['status'] == 1)) {
if (!empty($order['team_group_status'] && $order['team_group_status'] == 1 && $order['status'] == 2)) {
$order['status'] = '6';
$order['status_text'] = '待成团';
} elseif (!empty($order['team_group_status'] && $order['team_group_status'] == 2 && $detailInfo['status'] == 2)) {
... ...