Merge remote-tracking branch 'origin/mark' into yonghui

This commit is contained in:
苏尹岚
2019-12-03 10:43:10 +08:00

View File

@@ -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内部使用