Commit bd6f66a7 authored by zhuwei's avatar zhuwei

1

parent c3d2d387
...@@ -96,6 +96,12 @@ class PhoneFollowUpService ...@@ -96,6 +96,12 @@ class PhoneFollowUpService
} }
#客户是否在保护期内(0:保护器内 1:超过保护期)
$user_service = new UserService();
$result['is_outstrip_twenty_four_hours'] = $user_service->isUserProtect($user_id);
#判断当天被拨打是否超过5次,同时判断是否当前经纪人跟当前客户是否有电话绑定(0允许拨打 1不允许拨打)
$result['is_outpace_call_num'] = $this->userDetailIsOutpaceCallNum($user_id,$result['user_phone'], $agent_id);
return ['code'=>'200','data'=>$data]; return ['code'=>'200','data'=>$data];
} }
......
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