修复 用户搜索列表字段与数据库字段不匹配

This commit is contained in:
不忘初心 2020-08-28 09:21:34 +08:00
parent 18d17888e9
commit 3c5173d919

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');