From e7199741a40e8caeed07e8496ad865f026aa7211 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 3 Dec 2019 10:32:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=8C=85=E6=8B=AC16=E5=BC=80?= =?UTF-8?q?=E5=A4=B4=E7=9A=84=E6=89=8B=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/auth2/auth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index 6d6bd558b..f8632117c 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -96,7 +96,7 @@ var ( } authTypeGuesserMap = map[string]*regexp.Regexp{ AuthTypeEmail: regexp.MustCompile(`^[A-Za-z0-9_\-\.]+\@[A-Za-z0-9_\-]+(\.[A-Za-z]+){1,5}$`), - AuthTypeMobile: regexp.MustCompile(`^1[345789]\d{9}$`), + AuthTypeMobile: regexp.MustCompile(`^1[3456789]\d{9}$`), } // 永久全局的TOKEN,内部使用