whitefang 1 год назад
Родитель
Сommit
ef8879176b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/api/logic/ServiceOrderLogic.php

+ 1 - 1
app/api/logic/ServiceOrderLogic.php

@@ -407,7 +407,7 @@ class ServiceOrderLogic extends BaseLogic
     {
         try {
             $order_info =  \app\common\model\recharge\RechargeOrder::with(['service_work'=>function ($query) {
-                $query->visible(['service_fee,spare_total','service_work_spare_id']);
+                $query->visible(['service_fee','spare_total','service_work_spare_id']);
             }])
                 ->visible(['id','sn','work_id'])
                 ->where([