소스 검색

fix:订单详情状态字段

super-yimizi 3 달 전
부모
커밋
dff12969ac
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      application/api/controller/Order.php

+ 1 - 0
application/api/controller/Order.php

@@ -141,6 +141,7 @@ class Order extends Base
         if (empty($order)) {
             $this->error('未找到订单');
         }
+        $order->append(['order_status_text']);
         $address = OrderService::getAddressInfo($orderId);
         $order->address = $address;
         // $order->append(['status_text']);