From f2a255f48d8fbccb48d3a80cbe13326295fd24d1 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 26 Mar 2018 15:51:54 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E5=AD=97=E5=88=97=E8=A1=A8=EF=BC=8C=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Keys.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/wechat/controller/Keys.php b/application/wechat/controller/Keys.php index 8d06e82e3..d2d67a0fe 100644 --- a/application/wechat/controller/Keys.php +++ b/application/wechat/controller/Keys.php @@ -47,7 +47,7 @@ class Keys extends BasicAdmin { $this->assign('title', '微信关键字'); $db = Db::name($this->table)->whereNotIn('keys', ['subscribe', 'default']); - return $this->_list($db->order('id desc')); + return $this->_list($db->order('sort asc,id desc')); } /**