Commit 79b801fd authored by hujun's avatar hujun

绑定手机号客户与经纪人人手机号分别判断

parent 1df5db88
......@@ -48,8 +48,13 @@ class CallPhoneService
return $result;
}
if ((strlen($phone_a) != 11) || (strlen($phone_b) != 11)) {
$result['msg'] = '号码格式错误,请重新填写!';
if (strlen($phone_a) != 11) {
$result['msg'] = '本机号码格式错误!';
return $result;
}
if (strlen($phone_b) != 11) {
$result['msg'] = '客户手机号码格式错误,请与客方沟通!';
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