Commit 6f9ae20d authored by zhuwei's avatar zhuwei

is_can_edit

parent 5c632e7e
......@@ -196,6 +196,10 @@ class User extends Basic
}
}
// big_log(json_encode($conditions));
if ($app_request_source_type == 0) {
$pageNo = 1;
$pageSize = 15;
}
$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");
......@@ -204,7 +208,7 @@ class User extends Basic
}
// big_log(json_encode($return_user_list));
//todo 将经纪人所在城市的客户拍前面
// 将经纪人所在城市的客户拍前面
if ($app_request_source_type == 0) {
$return_user_list = $this->userSequenceByCity($return_user_list,$params['site_id']);
}
......
......@@ -208,7 +208,7 @@ class SquareService
//用户置顶权限
$res['user_competence'] = $this->userCompetence($agent_id);
$res['is_can_edit'] = 1;//兼容老版本 2019-04-22
return $res;
}
......@@ -318,6 +318,7 @@ class SquareService
$res['image_path'] = AGENTHEADERIMGURL . $agent['img'];//'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg';
//用户置顶权限
$res['user_competence'] = $this->userCompetence($agent_id);
$res['is_can_edit'] = 1;//兼容老版本 2019-04-22
return $res;
}
......
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