瀏覽代碼

小高薪

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'];