/**
  * 更改邮箱
  */
 public function editEmailAction()
 {
     $_statu = $this->checkRegisterUser();
     if (!Pw::getstatus($this->loginUser->info['status'], PwUser::STATUS_UNACTIVE)) {
         $this->showMessage('USER:active.email.dumplicate', 'u/login/run');
     }
     $email = $this->getInput('email', 'post');
     $result = PwUserValidator::isEmailValid($email, $this->loginUser->info['username']);
     if ($result instanceof PwError) {
         $this->showError($result->getError());
     } else {
         $userInfo = new PwUserInfoDm($this->loginUser->uid);
         $userInfo->setEmail($email);
         $this->_getUserDs()->editUser($userInfo, PwUser::FETCH_MAIN);
         $registerService = new PwRegisterService();
         $registerService->sendEmailActive($this->loginUser->info['username'], $email, $_statu, $this->loginUser->uid);
         $this->showMessage('USER:active.editemail.success', 'u/register/sendActiveEmail?_statu=' . $_statu);
     }
 }