作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

合并分支 'heshupeng' 到 'master'

论坛bug



查看合并请求 !192
@@ -150,9 +150,10 @@ class Topic extends Api @@ -150,9 +150,10 @@ class Topic extends Api
150 $where['status'] = '1'; //审核通过的显示 150 $where['status'] = '1'; //审核通过的显示
151 if(!empty($topic_category_id)){ 151 if(!empty($topic_category_id)){
152 $where['topic_category_id'] = $topic_category_id; 152 $where['topic_category_id'] = $topic_category_id;
153 - }else{  
154 - $where['is_recommend'] = '1';  
155 } 153 }
  154 +// else{
  155 +// $where['is_recommend'] = '1';
  156 +// }
156 switch ($order) { 157 switch ($order) {
157 case 0: 158 case 0:
158 $order = ['createtime' => 'desc']; 159 $order = ['createtime' => 'desc'];