Commit 03c3c32c authored by zhuwei's avatar zhuwei

//app_request_source_type 1:代表全部客户

parent 21e22605
...@@ -65,6 +65,9 @@ class User extends Basic ...@@ -65,6 +65,9 @@ class User extends Basic
public function searchUser() public function searchUser()
{ {
$params = $this->params; $params = $this->params;
//app_request_source_type 1:代表全部客户
$app_request_source_type = !empty($params["request_source_type"]) ? $params["request_source_type"] : 0;
/*$params = array( /*$params = array(
"user_status" => 0,//客户状态(0:求租;1:已租;-1:无效) "user_status" => 0,//客户状态(0:求租;1:已租;-1:无效)
"yetai" => "休闲娱乐", "yetai" => "休闲娱乐",
...@@ -151,9 +154,11 @@ class User extends Basic ...@@ -151,9 +154,11 @@ class User extends Basic
$is_search = false; $is_search = false;
//是我的客户就显示全部 //是我的客户就显示全部
}else{ }else{
//不是我的客户排除纯房东 if($app_request_source_type == 1){
//'全部客户列表' 需要排除排除纯房东客户
$conditions['user_label'] = array( "neq", 2 ); $conditions['user_label'] = array( "neq", 2 );
} }
}
/*if (!$is_search) { /*if (!$is_search) {
$conditions['user_label'] = array( "neq", 2 ); $conditions['user_label'] = array( "neq", 2 );
......
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