瀏覽代碼

订单列表

whitefang 1 年之前
父節點
當前提交
8d9b696a66
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/api/lists/recharge/ServiceOrderLists.php

+ 1 - 1
app/api/lists/recharge/ServiceOrderLists.php

@@ -54,7 +54,7 @@ class ServiceOrderLists extends BaseApiDataLists
         $lists = RechargeOrder::with(['order_goods'=>function ($query) {
             $query->visible(['goods_name','goods_image','goods_number','good_unit']);
         },'service_work'=>function ($query) {
-            $query->visible(['service_status']);
+            $query->visible(['service_status'])->append(['service_status_text']);
         }])
             ->where($this->queryWhere())
             ->visible(['id','sn','order_total','order_amount','pay_status','create_time'])