正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -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']; |
-
请 注册 或 登录 后发表评论