Authored by 郭成尧

'添加换货订单标记'

@@ -86,6 +86,11 @@ class OrderModel @@ -86,6 +86,11 @@ class OrderModel
86 } 86 }
87 //操作 87 //操作
88 $orders[$orderK]['operation'] = self::getOperateInfo($orderV['attribute'], $orderV['is_cancel'], $orderV['status'], $orderV['payment_status'], $orderV['update_time'], $orderV['order_type'], $orderV['refund_status'], $orderV['payment_type'], $orderV['order_code'], $opRefundStatus); 88 $orders[$orderK]['operation'] = self::getOperateInfo($orderV['attribute'], $orderV['is_cancel'], $orderV['status'], $orderV['payment_status'], $orderV['update_time'], $orderV['order_type'], $orderV['refund_status'], $orderV['payment_type'], $orderV['order_code'], $opRefundStatus);
  89 +
  90 + // tar add 160701 换货订单标记
  91 + if ($orderV['order_type'] === 7) {
  92 + $orders[$orderK]['isExchanged'] = true;
  93 + }
89 } 94 }
90 if ($isPage) { 95 if ($isPage) {
91 $orders['pager']['total'] = $orderInfo['data']['total']; 96 $orders['pager']['total'] = $orderInfo['data']['total'];