cqpCow 1 vuosi sitten
vanhempi
commit
2808e6e290
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Service/BookingListService.php

+ 1 - 1
app/Service/BookingListService.php

@@ -124,7 +124,7 @@ class BookingListService extends Service
         if(empty($customer)) return [false,'记录不存在或已被删除'];
         $customer = $customer->toArray();
         $customer['state_title'] = BookingList::$name[$customer['state']] ?? "";
-        $customer['type'] = BookingList::$model_type[$customer['type']] ?? "";
+        $customer['type_title'] = BookingList::$model_type[$customer['type']] ?? "";
 
         $customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('emp_name');
         $customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';