/**
  * 初始化
  */
 private function init()
 {
     $registerService = new PwRegisterService();
     $result = $registerService->checkIp($this->getRequest()->getClientIp());
     if ($result instanceof PwError) {
         $this->showMessage($result->getError());
     }
     $resource = Wind::getComponent('i18n');
     list($_pwdMsg, $_pwdArgs) = PwUserValidator::buildPwdShowMsg();
     list($_nameMsg, $_nameArgs) = PwUserValidator::buildNameShowMsg();
     $this->setOutput($resource->getMessage($_pwdMsg, $_pwdArgs), 'pwdReg');
     $this->setOutput($resource->getMessage($_nameMsg, $_nameArgs), 'nameReg');
     $this->setOutput($this->_showVerify(), 'verify');
     $this->setOutput($this->_getRegistConfig(), 'config');
     $this->setOutput(PwUserHelper::getRegFieldsMap(), 'needFields');
     $this->setOutput(array('location', 'hometown'), 'areaFields');
 }