<?php
namespace app\user\validate;
use think\Validate;
/**
* 
*/
class User extends Validate
{
	
	protected $rule = [
		'password|密码'      => 'require|confirm|alphaNum|min:6',
		'email|电子邮箱'	 => 'email|unique:user',
		'mobile|手机号码' 	 => 'require|mobile|unique:user'
	];
}