Commit e81d6a4e authored by hujun's avatar hujun

客户列表搜索

parent e4f7c9fc
...@@ -67,9 +67,9 @@ class Member extends Basic{ ...@@ -67,9 +67,9 @@ class Member extends Basic{
//是否公客 //是否公客
if (!empty($params['public_user']) && $params['public_user'] != -1) { if (!empty($params['public_user']) && $params['public_user'] != -1) {
if ($params['public_user'] == 1) { if ($params['public_user'] == 1) {
$where['a.referrer_id'] = ['NULL']; $where['a.agent_id'] = 0;
} else { } else {
$where['a.referrer_id'] = ['NOT NULL']; $where['a.agent_id'] = ['>', 0];
} }
} }
......
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