From 25e7be4952abd935d3be7e2eb2d350f6982df66b Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 4 Mar 2019 15:16:11 +0800 Subject: [PATCH] - chanage mobile regexp --- 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 e27703c7c..e672e1c56 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -78,7 +78,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[34578]\d{9}$`), + AuthTypeMobile: regexp.MustCompile(`^1[345789]\d{9}$`), } )