修改系统模块搜索

This commit is contained in:
Anyon 2020-08-28 10:26:10 +08:00
parent 371ea59465
commit e757ba1ec9
3 changed files with 4 additions and 2 deletions

View File

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

View File

@ -0,0 +1 @@
* 修正系统用户搜索规则

View File

@ -1,6 +1,6 @@
{
"name": "admin",
"author": "Anyon",
"version": "2020.08.03.01",
"version": "2020.08.28.01",
"content": "ThinkAdmin 系统基础模块"
}