修改关键字查询用户bug

This commit is contained in:
hdm 2021-10-27 00:26:30 +08:00
parent 08d06e9479
commit 89fb136559

View File

@ -22,7 +22,7 @@ class User extends BaseController
$param = get_params();
$where = array();
if (!empty($param['keywords'])) {
$where[] = ['nickname|truename|mobile|province|city', 'like', '%' . $param['keywords'] . '%'];
$where[] = ['nickname|username|name|mobile|province|city', 'like', '%' . $param['keywords'] . '%'];
}
//按时间检索