Commit 05e2f2aa authored by zhuwei's avatar zhuwei

user_nick 客户昵称搜索 后台

parent 1f5cab10
......@@ -179,7 +179,6 @@ class ImageDepot extends Basic
{
$we_chat_last_notice_lime = time();
return $this->response("200", "成功",$we_chat_last_notice_lime);
}
......
......@@ -277,9 +277,16 @@ class Member extends Basic{
}
//客户姓名
if (!empty($params['user_name'])) {
$if_search_user = false;
$where['a.user_name'] = [ 'LIKE', '%' . $params['user_name'] . '%' ];
unset($where['a.create_time']);
}
//客户昵称
if (!empty($params['user_nick'])) {
$if_search_user = false;
$where['a.user_name'] = [ 'LIKE', '%' . $params['user_nick'] . '%' ];
$where['a.user_nick'] = [ 'LIKE', '%' . $params['user_nick'] . '%' ];
unset($where['a.create_time']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment