Browse Source

fix:订单详情状态字段

super-yimizi 2 months ago
parent
commit
dff12969ac
1 changed files with 1 additions and 0 deletions
  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']);