mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改系统模块搜索
This commit is contained in:
parent
371ea59465
commit
e757ba1ec9
@ -42,8 +42,9 @@ class User extends Controller
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$this->title = '系统用户管理';
|
$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->equal('status')->dateBetween('login_at,create_at');
|
||||||
|
$query->like('username,contact_phone#phone,contact_mail#mail');
|
||||||
// 加载对应数据列表
|
// 加载对应数据列表
|
||||||
$this->type = input('type', 'all');
|
$this->type = input('type', 'all');
|
||||||
if ($this->type === 'all') {
|
if ($this->type === 'all') {
|
||||||
|
1
app/admin/module/change/2020.08.28.01.md
Normal file
1
app/admin/module/change/2020.08.28.01.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
* 修正系统用户搜索规则
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"author": "Anyon",
|
"author": "Anyon",
|
||||||
"version": "2020.08.03.01",
|
"version": "2020.08.28.01",
|
||||||
"content": "ThinkAdmin 系统基础模块"
|
"content": "ThinkAdmin 系统基础模块"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user