!13 后台用户管理页面搜索字段与数据库不匹配

Merge pull request !13 from 不忘初心/v6
This commit is contained in:
Anyon 2020-08-28 10:26:27 +08:00 committed by Gitee
commit 2e3ab75980

View File

@ -42,7 +42,7 @@ class User extends Controller
public function index()
{
$this->title = '系统用户管理';
$query = $this->_query($this->table)->like('username,phone,mail');
$query = $this->_query($this->table)->like('username,contact_phone#phone,contact_mail#mail');
$query->equal('status')->dateBetween('login_at,create_at');
// 加载对应数据列表
$this->type = input('type', 'all');