/**
  * @todo: 新增评论
  * @author Saki <*****@*****.**>
  * @date 2014-12-26 下午5:45:28
  * @version V1.0
  */
 public function createComment($post)
 {
     $isadd = 0;
     $model = D('Admin/ArticleComment');
     if ($post['content'] != '') {
         $data = $post;
         $data['content'] = getContent($data['content']);
         $data['name'] = htmlspecialchars($post['name']);
         $data['ctm'] = date('Y-m-d H:i:s', time());
         try {
             $isadd = $model->data($data)->add($data);
             if ($isadd) {
                 //评论数+1
                 $article_list_model = new \Admin\Model\ArticleListModel();
                 $article_list_model->addComment($post['aid']);
             }
         } catch (Exception $e) {
         }
     }
     return $isadd;
 }