cqpCow hai 1 ano
pai
achega
2808e6e290
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']): '';