Commit f6be28e2 authored by hujun's avatar hujun

$this->user_id change $agent_id

parent fe71a2e6
...@@ -103,13 +103,6 @@ class UserLogService ...@@ -103,13 +103,6 @@ class UserLogService
/*查询站点名*/ /*查询站点名*/
$call = new CallPhoneService();
$agent_data = $redis_service->getRedisCache(2, $agent_id);
$result = $call->checkBindRedis($this->userId, $agent_data['phone_list'], $user_arr['user_phone']);
if($result != ''){
$data['is_outpace_call_num'] = 0;
}
/*修改记录部分 start*/ /*修改记录部分 start*/
$records = new GOperatingRecords(); $records = new GOperatingRecords();
$param_['user_id'] = $user_id; $param_['user_id'] = $user_id;
...@@ -157,6 +150,12 @@ class UserLogService ...@@ -157,6 +150,12 @@ class UserLogService
// if ($result != 0) { // if ($result != 0) {
// $data['is_outpace_call_num'] = 0; // $data['is_outpace_call_num'] = 0;
// } // }
$call = new CallPhoneService();
$agent_data = $redis_service->getRedisCache(2, $agent_id);
$result = $call->checkBindRedis($agent_id, $agent_data['phone_list'], $user_arr['user_phone']);
if($result != ''){
$data['is_outpace_call_num'] = 0;
}
//查询当前经纪人是否是某个客方的总监 0:可查看 1:不可查看 //查询当前经纪人是否是某个客方的总监 0:可查看 1:不可查看
$data['is_can_look'] = $user_service->isUserAgentDirector($user_arr["agent_id"], $agent_id); $data['is_can_look'] = $user_service->isUserAgentDirector($user_arr["agent_id"], $agent_id);
......
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