Commit 8acb1a31 authored by hujun's avatar hujun

1

parent 9d1329a2
......@@ -131,8 +131,10 @@ class CallPhoneService
if ($is_outpace_call_num) {
$called = $clientService->userDetailIsOutpaceCallNumPhone($phone_b, $agent_id);
if ($called) {
$result['msg'] = '拨打次数超过5次,不能拨打。';
return $result;
if (!$clientService->isUserAgent($agent_id, $user_id)) {
$result['msg'] = '拨打次数超过5次,不能拨打。';
return $result;
}
}
}
}
......
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