cqpCow 1 년 전
부모
커밋
2808e6e290
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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']): '';