Ejemplo n.º 1
0
 /**
  * 还原回复
  */
 public function doRevertReplyAction()
 {
     $pids = $this->getInput('pids');
     Wind::import('SRV:forum.srv.operation.PwRevertReply');
     $srv = new PwRevertReply($pids, $this->loginUser);
     $srv->execute();
     $this->showMessage('还原成功了');
 }
Ejemplo n.º 2
0
 public function doRevertReplyAction()
 {
     $pids = $this->getInput('pids');
     if (!$pids) {
         $this->showError('operate.select');
     }
     Wind::import('SRV:forum.srv.operation.PwRevertReply');
     $srv = new PwRevertReply($pids, new PwUserBo($this->adminUser->getUid()));
     $srv->execute();
     $this->showMessage('还原成功了');
 }