/**
  * 测试-用户模型
  */
 public function lists()
 {
     $cid = I('cid', 0, 'intval');
     $cate = get_category(1);
     $self = Category::getSelf($cate, $cid);
     //当前栏目信息
     $patterns = array('/' . C('TMPL_TEMPLATE_SUFFIX') . '$/');
     $replacements = array('');
     $template_list = preg_replace($patterns, $replacements, $self['template_list']);
     if (empty($template_list)) {
         $this->error('模板不存在');
     }
     $this->assign('title', '专题首页');
     $this->display($template_list);
 }