[更新]修改关键字列表,排序

This commit is contained in:
Anyon 2018-03-26 15:51:54 +08:00
parent e21f1c8415
commit f2a255f48d

View File

@ -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'));
}
/**