Przeglądaj źródła

[智价云] 日志记录更新

public 1 miesiąc temu
rodzic
commit
4587eb901f

+ 1 - 1
app/Http/Controllers/Manager/Personnel/Employee.php

@@ -406,7 +406,7 @@ class Employee extends Controller
         $admin_id   = request('access_token.uid', 0); //用户ID
         $table_name = $EmployeeModel->getTable();
         $notes_type = 2; //操作类型,1添加,2修改,3=删除
-        $this->addAdminHistory('人员信息管理-员工管理', $admin_id, $is_admin, $table_name, $notes_type, $oldData, $all_data, '修改了员工' . $oldData['name'] . '信息');
+        $this->addAdminHistory('人员信息管理-员工管理',$company_id, $admin_id, $is_admin, $table_name, $notes_type, $oldData, $all_data, '修改了员工' . $oldData['name'] . '信息');
         // 告知结果
         return json_send(['code' => 'success', 'msg' => '修改成功']);
     }