Commit fc64b383 authored by zhuwei's avatar zhuwei

优化

parent 5dd08ad7
......@@ -48,6 +48,7 @@ class Agent extends Basic
$field = 'Agents.id as agent_id,';
$field .= 'Agents.name,';
$field .= 'Agents.img,';
$field .= 'Agents.status,';
$field .= 'Agents.phone';
$res = $this->aAgents->getPhoneBookList($field, $where, $pageSize, $pageNo);
......
......@@ -328,6 +328,8 @@ class Remark extends Basic
//查询当前经纪人是否是某个客方的总监 0:可以 1:不可以
$user_res['is_can_look'] = $user_service->isUserAgentDirector($user_res["agent_id"],$params["agent_id"]);
/*查询客户是否被经纪人收藏*/
$user_res["is_collect"] = $user_service->isCollect($params["agent_id"],$params["user_id"]);
return $this->response("200", "success!", [
'user_info' => $user_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