- handle ebai fake mobile(IsMobileFake)
This commit is contained in:
@@ -187,3 +187,8 @@ func Int2OneZero(value int) int {
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 判断电话号码是否是假的,比如有****号
|
||||
func IsMobileFake(mobile string) bool {
|
||||
return utils.Str2Int64WithDefault(strings.Replace(strings.Replace(mobile, "-", "", -1), ",", "", -1), 0) == 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user