@Override
	public void registerAccount(Account account) throws ServiceException{
		if(account.getUsername() != null && !account.getUsername().equals("") && account.getPassword() != null && !account.getPassword().equals("")){
			accountDAO.addAccount(account);
		}
		else{
			throw new ServiceException("用户名，密码，邮箱不能为空");
		}
	}