public void validate(){
		//1.非空
		if(!ValidateUtil.isValid(model.getEmail())){
			addFieldError("email", "email是必填项!");
		}
		if(!ValidateUtil.isValid(model.getPassword())){
			addFieldError("password", "密码是必填项!");
		}
		if(!ValidateUtil.isValid(model.getNickName())){
			addFieldError("nickName", "昵称是必填项!");
		}
		if(this.hasErrors()){
			return;
		}
		//2.密码一致性
		if(!model.getPassword().equals(confirmPassword)){
			addFieldError("password", "密码输入不一致!");
			return ;
		}
		//3.email是否被占用
		if(userService.isRegisted(model.getEmail())){
			addFieldError("email", "邮箱已占用!");
		}
	}