This commit is contained in:
weiz 2024-03-13 15:47:44 +08:00
parent 5dc6c15f7a
commit 78c0c7d217

View File

@ -54,7 +54,7 @@
$v = $v.'月';
}
$custom_total = Custom::field('id')->count();
$this_year_add = Custom::field('id')->whereYear('create_time',date('Y'))->count();
$this_year_add = Custom::field('id')->whereYear('create_time',$year)->count();
$result = [
'column' => $column,
'series' => $series,