diff --git a/app/admin/controller/system/Admin.php b/app/admin/controller/system/Admin.php index 3947f22616cc39491ccaa43bb3394b1f280c29f5..19e8e5e66e46988abd7e05d744d1e4e0806dc5ad 100644 --- a/app/admin/controller/system/Admin.php +++ b/app/admin/controller/system/Admin.php @@ -459,7 +459,7 @@ class Admin extends AdminController } // 查找数据 - $where[] = ['id', '=', $request->admin_id]; + $where[] = ['id', '=', $request->adminId]; $where[] = ['pwd', '=', encryptPwd($pwd)]; $result = $this->model->where($where)->find();