Commit 9cb1c4e2 authored by zhuwei's avatar zhuwei

修改

parent 5daa8f13
...@@ -538,7 +538,7 @@ class Broker extends Basic ...@@ -538,7 +538,7 @@ class Broker extends Basic
} }
//查询当前经纪人是否是某个客方的总监 0:可查看 1:不可查看 //查询当前经纪人是否是某个客方的总监 0:可查看 1:不可查看
$data['is_can_look'] = $user_service->isUserAgentDirector($user_res["agent_id"],$this->agentId); //$data['is_can_look'] = $user_service->isUserAgentDirector($user_res["agent_id"],$this->agentId);
return $this->response("200", "success!", $data); return $this->response("200", "success!", $data);
} }
......
...@@ -325,11 +325,10 @@ class Remark extends Basic ...@@ -325,11 +325,10 @@ class Remark extends Basic
if($result != 0){ if($result != 0){
$data['is_outpace_call_num'] = 0; $data['is_outpace_call_num'] = 0;
} }
dump($user_res["agent_id"]);
dump($this->agentId);
exit;
$user_res['user_pic'] = $user_service->isUserAgentDirector($user_res["agent_id"],$this->agentId); //查询当前经纪人是否是某个客方的总监 0:可以 1:不可以
$user_res['is_can_look'] = $user_service->isUserAgentDirector($user_res["agent_id"],$params["agent_id"]);
return $this->response("200", "success!", [ return $this->response("200", "success!", [
'user_info' => $user_res, 'user_info' => $user_res,
'user_date' => $UPhoneFollowPp_res, 'user_date' => $UPhoneFollowPp_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