作者 jinglong
1 个管道 的构建 通过 耗费 0 秒

修改短信手机号验证码验证规则

... ... @@ -144,7 +144,7 @@ return array (
],
'f_pass' => [
'rule' => [
'mobile' => ['require','regex'=>'/^0?1[3|4|5|6|7|8][0-9]\d{8}$/'],
'mobile' => ['require','regex'=>'/^0?1[3|4|5|6|7|8|9][0-9]\d{8}$/'],
'password' => 'require',
'password_again' => 'require',
],
... ... @@ -807,7 +807,7 @@ return array (
'rule' => [
'subject_name' => 'require',
'handler' => 'require',
'mobile' => ['require','regex'=>'/^0?1[3|4|5|6|7|8][0-9]\d{8}$/'],
'mobile' => ['require','regex'=>'/^0?1[3|4|5|6|7|8|9][0-9]\d{8}$/'],
'address' => 'require',
'remark' => 'require',
],
... ...