From 9f81923838389b55ed0f55c7dfe230e3627d1ba3 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 25 Apr 2017 16:00:37 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=9B=BE=E6=96=87=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/News.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/wechat/controller/News.php b/application/wechat/controller/News.php index c189f31a8..7bc382b29 100644 --- a/application/wechat/controller/News.php +++ b/application/wechat/controller/News.php @@ -1,4 +1,5 @@ assign('title', '图文列表'); - parent::_list(); + $db = Db::name($this->table)->order('id desc'); + parent::_list($db); } /** @@ -119,4 +121,5 @@ class News extends BasicAdmin { public function select() { return '开发中'; } + }