作者 郭鑫
1 个管道 的构建 通过 耗费 3 秒

修改

@@ -99,7 +99,7 @@ class BingoController extends AdminBaseController @@ -99,7 +99,7 @@ class BingoController extends AdminBaseController
99 $this->assign('end', $data['end']); 99 $this->assign('end', $data['end']);
100 } 100 }
101 $where_ask['status'] = array('neq', 9); 101 $where_ask['status'] = array('neq', 9);
102 - $ask = Db::name('Ask')->where($where_ask)->paginate(10,false,['query'=>$final['page_arr']]);; 102 + $ask = Db::name('Ask')->where($where_ask)->order('create_time desc')->paginate(10,false,['query'=>$final['page_arr']]);;
103 $page = $ask->render(); 103 $page = $ask->render();
104 $this->assign('page',$page); 104 $this->assign('page',$page);
105 $this->assign('list', $ask); 105 $this->assign('list', $ask);