- chanage mobile regexp

This commit is contained in:
gazebo
2019-03-04 15:16:11 +08:00
parent 9a581f1eba
commit 25e7be4952

View File

@@ -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}$`),
}
)