mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信图文模块
This commit is contained in:
parent
a4fd65ca4a
commit
9f81923838
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | Think.Admin
|
// | Think.Admin
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
@ -38,7 +39,8 @@ class News extends BasicAdmin {
|
|||||||
*/
|
*/
|
||||||
public function index() {
|
public function index() {
|
||||||
$this->assign('title', '图文列表');
|
$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() {
|
public function select() {
|
||||||
return '开发中';
|
return '开发中';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user