手机号码正则更新

feat/task1-c-wallet
devil_gong 2019-09-24 09:36:50 +08:00
parent 7012f4098b
commit bf6792fa24
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ return array(
'common_regex_pwd' => '^.{6,18}$',
// 手机号码
'common_regex_mobile' => '^1((3|5|6|7|8|9){1}\d{1})\d{8}$',
'common_regex_mobile' => '^1((3|4|5|6|7|8|9){1}\d{1})\d{8}$',
// 座机号码
'common_regex_tel' => '^\d{3,4}-?\d{8}$',