作者 何书鹏

bug修改

... ... @@ -10,10 +10,10 @@ class User extends Validate
* 验证规则
*/
protected $rule = [
'username' => 'require|regex:\w{3,32}|unique:user',
// 'username' => 'require|regex:\w{3,32}|unique:user',
'nickname' => 'require|unique:user',
'password' => 'regex:\S{6,32}',
'email' => 'require|email|unique:user',
// 'email' => 'require|email|unique:user',
'mobile' => 'unique:user'
];
... ...