Commit e58ab7fa authored by 王业雄's avatar 王业雄

联系人手机号错误校验

parent 531ec2fa
...@@ -62,6 +62,6 @@ public class ContactsTelErrorVerifyImpl extends AbstractProductRuleVerifyImpl { ...@@ -62,6 +62,6 @@ public class ContactsTelErrorVerifyImpl extends AbstractProductRuleVerifyImpl {
if (!tel.startsWith("1")){ if (!tel.startsWith("1")){
return false; return false;
} }
return !tel.startsWith("170") || !tel.startsWith("171"); return !tel.startsWith("170") && !tel.startsWith("171");
} }
} }
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