From c98c86846f7b7dfb6dbfad49c44e1ecbb92b366b Mon Sep 17 00:00:00 2001 From: muzi_ys <1099438829@qq.com> Date: Sun, 24 Jul 2022 22:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index/common.php b/app/index/common.php index a6973c1..4d5d9c5 100644 --- a/app/index/common.php +++ b/app/index/common.php @@ -626,7 +626,7 @@ function tpl_get_archive_list($type,$format){ $dateFormat = "create_date"; break; } - $list = $documentListModel = (new Document())->group($dateFormat)->column("count(*) as count,create_date"); + $list = (new Document())->group($dateFormat)->column("count(*) as count,create_date"); foreach ($list as $key => &$item) { $item['create_date'] = date($format,strtotime($item['create_date'])); }