소스 검색

小高薪

cqp 2 달 전
부모
커밋
2dbeb45617
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/EmployeeService.php

+ 1 - 1
app/Service/EmployeeService.php

@@ -144,7 +144,7 @@ class EmployeeService extends Service
                     'employee_id' => $model->id,
                     'file' => $data['img_url'],
                     'crt_time' => $time,
-                    'top_depart_id' => $value['top_depart_id'],
+                    'top_depart_id' => $user['top_depart_id'],
                 ];
                 EmployeeFile::insert($insert);
                 $new[] = $data['img_url'];