public function getListByDiseaseid($condition = [], $offset = 0, $limit = 10, $orderBy = 'id DESC')
 {
     $article = new Article();
     $articles = $article->getListByDiseaseid($condition, $offset, $limit, $orderBy);
     if (isset($articles) && !empty($articles)) {
         foreach ($articles as $key => &$article) {
             $article['url'] = '/article/' . date("Y/md", $article["inputtime"]) . '/' . $article['id'] . '.shtml';
         }
     }
     return $articles;
 }
 /**
  * 获取更多文章
  *  ajax 
  */
 public function actionLoadArticle()
 {
     $condition['diseaseid'] = $this->helpGpost('diseaseid', '');
     $condition['type'] = [$this->helpGpost('type', 0)];
     $offset = $this->helpGpost('offset', 0);
     $length = $this->helpGpost('length', 5);
     $obj_article = new Article();
     $article = $obj_article->getListByDiseaseid($condition, $offset, $length);
     $data['article'] = $article;
     return $this->renderPartial('inc_article_list', $data);
 }