public function ajaxShowAction()
 {
     $docId = (int) Request::getPOST('doc-id');
     $docInfo = DocInterface::getById(array('id' => $docId));
     if (empty($docInfo)) {
         $this->renderError('文章不存在!');
     }
     if (!$docInfo['hidden']) {
         $this->renderError('文章已经显示!');
     }
     if (empty($docInfo['title']) || empty($docInfo['content'])) {
         $this->renderError('文章标题为空,或者文章内容为空,无法显示!');
     }
     DocInterface::show(array('id' => $docId));
     $this->setNotice(FrameworkVars::NOTICE_SUCCESS, '操作成功');
     $this->renderAjax(0);
 }