• 实现方法
    1. 打开文件 \APPs\home\model\ParserModel.php,找到 getSortTags($scode) 方法。
    2. 修改查询语句,增加文章状态判断:
      $result = parent::table('ay_contenta')
          ->where('a.status=1')
          ->where("c.type=2 AND a.tags<>'")
          ->where($scode_arr, 'OR')
          ->join($join)
          ->order('a.visits DESC')
          ->column('a.tags');
      return $result;