public function actionInsert()
 {
     $values = $this->getParams();
     $values['content'] = trim($values['content'], ',');
     $defaults = ['userid' => $this->user->id, 'username' => $this->user->login_name, 'addtime' => time(), 'updatetime' => time(), 'status' => 1];
     $comment = new Comment();
     $flag = $comment->insertComm(array_merge($values, $defaults));
     if ($flag) {
         $this->redirect('/basedata/comment/index');
     }
 }