Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web
/
sso
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhoushuo
2016-09-13 09:51:50 +0800
Commit
d80b6eac4bd6dd03aac94a4b2538d4105d4cfc74
1 parent
22ea5341
为压测 更改手机号验证 999开头的号码也算手机号
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
facade/Auth.class.php
facade/Auth.class.php
View file @
d80b6ea
...
...
@@ -149,7 +149,7 @@ class Facade_Auth
*/
public
static
function
isMobile
(
$mobile
)
{
return
preg_match
(
'/^1[3|4|5|7|8][0-9]\d{8}$/'
,
$mobile
);
return
preg_match
(
'/^1[3|4|5|7|8][0-9]
|999
\d{8}$/'
,
$mobile
);
}
/**
...
...
Please
register
or
login
to post a comment