- 修改IsMobileFake,13位及以上为非真实号

This commit is contained in:
gazebo
2019-04-14 22:48:57 +08:00
parent b91fe783f6
commit ba463210b3

View File

@@ -220,7 +220,7 @@ func Int2OneZero(value int) int {
// 判断电话号码是否是假的,比如有****号
func IsMobileFake(mobile string) bool {
return len(mobile) > 13 || mobile == ""
return len(mobile) >= 13 || mobile == ""
}
func FormalizeMobile(mobile string) string {