Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d7791ba8
authored
2015-04-07 17:48:51 +0800
by
peeped
Committed by
astaxie
2015-05-25 09:10:36 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update validators.go
//176 中国联通 //177 中国电信 //145 中国联通 //147 中国移动 //149 中国电信
1 parent
67659521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
validation/validators.go
validation/validators.go
View file @
d7791ba
...
...
@@ -457,7 +457,7 @@ func (b Base64) GetLimitValue() interface{} {
}
// just for chinese mobile phone number
var
mobilePattern
=
regexp
.
MustCompile
(
"^((
\\
+86)|(86))?(1(([35][0-9])|
(47)|[8][0-
9]))
\\
d{8}$"
)
var
mobilePattern
=
regexp
.
MustCompile
(
"^((
\\
+86)|(86))?(1(([35][0-9])|
[8][0-9]|[7][67]|[4][57
9]))
\\
d{8}$"
)
type
Mobile
struct
{
Match
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment