Commit 79c667f3 authored by hujun's avatar hujun

客方手机号

parent 0c9c5c76
...@@ -228,6 +228,11 @@ class Member extends Basic{ ...@@ -228,6 +228,11 @@ class Member extends Basic{
$type = 4; $type = 4;
} }
//客方手机号
if (!empty($params['user_agent']) && ($type == 3 || $type == 4)) {
$where['b.phone'] = $params['user_agent'];
}
$fields = 'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status'; $fields = 'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status';
$data['list'] = $this->user->getUserAgent($pageNo, $pageSize, 'a.id DESC', $fields, $where, $type); $data['list'] = $this->user->getUserAgent($pageNo, $pageSize, 'a.id DESC', $fields, $where, $type);
$data['total'] = $this->user->getUserAgentTotal($where, $type); $data['total'] = $this->user->getUserAgentTotal($where, $type);
......
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