Commit f1ef08f9 authored by zhuwei's avatar zhuwei

1

parent 360eeffa
...@@ -93,7 +93,6 @@ class User extends Basic ...@@ -93,7 +93,6 @@ class User extends Basic
#接口调用类型 1:全部客户 0:客户搜索 #接口调用类型 1:全部客户 0:客户搜索
$app_request_source_type = !empty($params["app_request_source_type"]) ? $params["app_request_source_type"] : 0; $app_request_source_type = !empty($params["app_request_source_type"]) ? $params["app_request_source_type"] : 0;
$conditions = []; $conditions = [];
if (isset($params['user_status'])) { if (isset($params['user_status'])) {
...@@ -171,6 +170,8 @@ class User extends Basic ...@@ -171,6 +170,8 @@ class User extends Basic
//传了经纪人id则表示我的客户 //传了经纪人id则表示我的客户
if (isset($params["agent_id"])) { if (isset($params["agent_id"])) {
$conditions['agent_id'] = $params['agent_id']; $conditions['agent_id'] = $params['agent_id'];
$conditions['entrust_type'] = isset($params["entrust_type"]) ? $params["entrust_type"] : 0;
//是我的客户就显示全部 //是我的客户就显示全部
}else{ }else{
if($app_request_source_type == 1){ if($app_request_source_type == 1){
......
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