|
@@ -141,7 +141,7 @@ class Order extends Base
|
|
|
if (empty($order)) {
|
|
|
$this->error('未找到订单');
|
|
|
}
|
|
|
- $order->append(['order_status_text']);
|
|
|
+ //$order->append(['order_status_text']);
|
|
|
$address = OrderService::getAddressInfo($orderId);
|
|
|
$order->address = $address;
|
|
|
// $order->append(['status_text']);
|
|
@@ -170,7 +170,7 @@ class Order extends Base
|
|
|
$status = OrderEnum::SHOW_TYPE_STATUS_MAP[$status];
|
|
|
$list = OrderService::getOrderList($userId ,$param, $status);
|
|
|
foreach ($list as $item) {
|
|
|
- $item->append(['order_status_text']);
|
|
|
+ // $item->append(['order_status_text']);
|
|
|
$field = 'id,order_sn,amount,goods_price,order_amount,express_name,express_no,order_goods,order_status_text,order_status';
|
|
|
$item->visible(explode(',', $field));
|
|
|
}
|