Commit 3bf44d65 authored by hujun's avatar hujun

//

parent 772f1a43
......@@ -119,13 +119,11 @@ class CallPhoneService
$clientService = new UserLogService();
$is_outpace_call_num = $clientService->userDetailIsOutpaceCallNum5($user_id);
if ($is_outpace_call_num) {
$result['msg'] = '拨打次数超过5次,不能拨打。';
return $result;
}
$called = $clientService->userDetailIsOutpaceCallNumPhone($phone_b, $agent_id);
if ($called) {
$result['msg'] = '没有绑定关系,不能拨打。';
return $result;
$called = $clientService->userDetailIsOutpaceCallNumPhone($phone_b, $agent_id);
if ($called) {
$result['msg'] = '拨打次数超过5次,不能拨打。';
return $result;
}
}
$this->phone_a = $phone_a;//经纪人手机号
......
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