去除无用的代码

This commit is contained in:
muzi_ys 2022-07-24 22:04:16 +08:00
parent d607a4419f
commit c98c86846f
1 changed files with 1 additions and 1 deletions

View File

@ -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']));
}