[更新]修改微信图文模块

This commit is contained in:
Anyon 2017-04-25 16:00:37 +08:00
parent a4fd65ca4a
commit 9f81923838

View File

@ -1,4 +1,5 @@
<?php
// +----------------------------------------------------------------------
// | Think.Admin
// +----------------------------------------------------------------------
@ -38,7 +39,8 @@ class News extends BasicAdmin {
*/
public function index() {
$this->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 '开发中';
}
}