mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-16 12:12:14 +08:00
修复 用户搜索列表字段与数据库字段不匹配
This commit is contained in:
parent
18d17888e9
commit
3c5173d919
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user