Commit a57c6a13 authored by zhuwei's avatar zhuwei

1

parent 6334386d
......@@ -84,7 +84,7 @@ class User extends Basic
}
/**
* 客户条件搜索
* app客户列表 搜索 我的客户
* @return \think\Response
*/
public function searchUser()
......@@ -92,7 +92,7 @@ class User extends Basic
$params = $this->params;
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
#接口调用类型 0:客户搜索 1:全部客户
#接口调用类型 0:客户搜索 1:全部客户 2:我的客户
$app_request_source_type = !empty($params["app_request_source_type"]) ? $params["app_request_source_type"] : 0;
$conditions = [];
......@@ -206,7 +206,8 @@ class User extends Basic
$conditions['entrust_type'] =$params['entrust_type'];
}
$field = "id as user_id,sex,user_name,city,user_phone,user_status,agent_id,create_time,industry_type,price_demand,area_demand,vip,user_label,source_intro,site_ids";
$field = "id as user_id,sex,user_name,city,user_phone,user_status,agent_id,create_time,industry_type,
price_demand,area_demand,vip,user_label,source_intro,site_ids,entrust_type,concrete_industry";
$return_user_list = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, "id desc");
if (empty($return_user_list)) {
return $this->response("200", "此条件没有找到数据");
......
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