切换导航条
此项目
正在载入...
登录
郭盛
/
enterprise
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
何书鹏
4 years ago
提交
36e81650f8b36cb35eb048194ee019945133ea6a
2 个父辈
a3e4c81f
d50e3b9e
1 个管道 的构建
通过
耗费 1 秒
合并分支 'heshupeng' 到 'master'
论坛bug 查看合并请求
!192
变更
1
构建
2
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
application/mobile/controller/Topic.php
application/mobile/controller/Topic.php
查看文件 @
36e8165
...
...
@@ -150,9 +150,10 @@ class Topic extends Api
$where
[
'status'
]
=
'1'
;
//审核通过的显示
if
(
!
empty
(
$topic_category_id
)){
$where
[
'topic_category_id'
]
=
$topic_category_id
;
}
else
{
$where
[
'is_recommend'
]
=
'1'
;
}
// else{
// $where['is_recommend'] = '1';
// }
switch
(
$order
)
{
case
0
:
$order
=
[
'createtime'
=>
'desc'
];
...
...
请
注册
或
登录
后发表评论