Commit 8acb1a31 authored by hujun's avatar hujun

1

parent 9d1329a2
......@@ -131,11 +131,13 @@ class CallPhoneService
if ($is_outpace_call_num) {
$called = $clientService->userDetailIsOutpaceCallNumPhone($phone_b, $agent_id);
if ($called) {
if (!$clientService->isUserAgent($agent_id, $user_id)) {
$result['msg'] = '拨打次数超过5次,不能拨打。';
return $result;
}
}
}
}
$this->phone_a = $phone_a;//经纪人手机号
$this->phone_b = $phone_b;//客户手机号
......
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