cqp 2 ماه پیش
والد
کامیت
e0a8f44591
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Service/CalendarService.php

+ 1 - 1
app/Service/CalendarService.php

@@ -136,7 +136,7 @@ class CalendarService extends Service
         if(empty($customer)) return [false,'日历设置不存在或已被删除'];
         $customer = $customer->toArray();
         $customer['time']  = ! empty($customer['time']) ? date("Y-m", $customer['time']) : "";
-        $customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('emp_name');
+        $customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('title');
         $customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';
 
         $details = $this->getDetail($data['id']);