From ba463210b32390a1c6cfcb710455d682127aa418 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 14 Apr 2019 22:48:57 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9IsMobileFake=EF=BC=8C13?= =?UTF-8?q?=E4=BD=8D=E5=8F=8A=E4=BB=A5=E4=B8=8A=E4=B8=BA=E9=9D=9E=E7=9C=9F?= =?UTF-8?q?=E5=AE=9E=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxutils/jxutils_cms.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxutils/jxutils_cms.go b/business/jxutils/jxutils_cms.go index bf3595eba..0279a86bc 100644 --- a/business/jxutils/jxutils_cms.go +++ b/business/jxutils/jxutils_cms.go @@ -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 {