修改关键字查询用户bug
This commit is contained in:
parent
08d06e9479
commit
89fb136559
@ -22,7 +22,7 @@ class User extends BaseController
|
|||||||
$param = get_params();
|
$param = get_params();
|
||||||
$where = array();
|
$where = array();
|
||||||
if (!empty($param['keywords'])) {
|
if (!empty($param['keywords'])) {
|
||||||
$where[] = ['nickname|truename|mobile|province|city', 'like', '%' . $param['keywords'] . '%'];
|
$where[] = ['nickname|username|name|mobile|province|city', 'like', '%' . $param['keywords'] . '%'];
|
||||||
}
|
}
|
||||||
|
|
||||||
//按时间检索
|
//按时间检索
|
||||||
|
Loading…
x
Reference in New Issue
Block a user