正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -114,6 +114,7 @@ class Index extends Api | @@ -114,6 +114,7 @@ class Index extends Api | ||
114 | $list = $ideaModel | 114 | $list = $ideaModel |
115 | ->where($where) | 115 | ->where($where) |
116 | ->field('id,title') | 116 | ->field('id,title') |
117 | + ->order('id','desc') | ||
117 | ->limit(20) | 118 | ->limit(20) |
118 | ->select(); | 119 | ->select(); |
119 | $list = $list->toArray(); | 120 | $list = $list->toArray(); |
-
请 注册 或 登录 后发表评论