diff --git a/application/admin/controller/LoginLog.php b/application/admin/controller/LoginLog.php index f461c38..26655dc 100644 --- a/application/admin/controller/LoginLog.php +++ b/application/admin/controller/LoginLog.php @@ -34,10 +34,10 @@ protected function filter(&$map) // 关联筛选 if ($this->request->param('account')) { - $map['admin_user.account'] = $this->request->param('account'); + $map['user.account'] = ["like", "%" . $this->request->param('account') . "%"]; } if ($this->request->param('name')) { - $map['admin_user.realname'] = ["like", "%" . $this->request->param('name') . "%"]; + $map['user.realname'] = ["like", "%" . $this->request->param('name') . "%"]; } // 设置属性