Commit e4af9bed authored by zhuwei's avatar zhuwei

委托类型

parent 8311e973
......@@ -201,7 +201,11 @@ class User extends Basic
$pageSize = 50;
}
$conditions['entrust_type'] = isset($params["entrust_type"]) ? $params["entrust_type"] : 0;
if(isset($params['entrust_type']) && is_numeric($params['entrust_type'])){
//委托类型
$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";
$return_user_list = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, "id desc");
if (empty($return_user_list)) {
......
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