From c546cf95412643da192bdbccc348802cf7fe4ae8 Mon Sep 17 00:00:00 2001 From: molong Date: Sat, 25 Nov 2017 13:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E6=A8=A1=E5=9D=97=E6=A0=8F?= =?UTF-8?q?=E7=9B=AE=E9=A1=B5bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/index/controller/Content.php b/application/index/controller/Content.php index 87c2feba..ac676046 100644 --- a/application/index/controller/Content.php +++ b/application/index/controller/Content.php @@ -105,7 +105,7 @@ class Content extends Front { ); $order = "id desc"; - $list = model('Document')->where($map)->order($order)->paginate(15); + $list = $this->model->where($map)->order($order)->paginate(15); $data = array( 'list' => $list,