From 2426d7beb442c01a2a99ce96b3d9a4202c938849 Mon Sep 17 00:00:00 2001 From: 1099438829 <1099438829@qq.com> Date: Mon, 12 Apr 2021 09:44:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=A8=A1=E6=9D=BF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/index/controller/Article.php b/app/index/controller/Article.php index 039b273..cf05dde 100644 --- a/app/index/controller/Article.php +++ b/app/index/controller/Article.php @@ -50,13 +50,13 @@ class Article extends Base //读取列表页模板 $listTmp=''; if($dc['type']==0){ - $listTmp=$dc['template_lists']; + $listTmp=$dc['template']; if(!$listTmp){ $this->error('请在栏目分类中,指定当前栏目的列表模板!'); } } elseif($dc['type']==1){ - $listTmp=$dc['template_index']; + $listTmp=$dc['template']; if(!$listTmp){ $this->error('请在栏目分类中,指定当前栏目的单篇模板!'); }