|
...
|
...
|
@@ -618,7 +618,7 @@ class ProjectController extends BaseController |
|
|
|
$yesterday_count = Count::where('project_id', $item['id'])->where('date', date('Y-m-d', strtotime('-1 day')))->first();
|
|
|
|
$today_count = Count::where('project_id', $item['id'])->where('date', date('Y-m-d'))->first();
|
|
|
|
$param['yesterday_ip_count'] = $yesterday_count['ip_num'] ?? 0;
|
|
|
|
$param['to_ip_count'] = $today_count['ip_num'] ?? 0;
|
|
|
|
$param['today_ip_count'] = $today_count['ip_num'] ?? 0;
|
|
|
|
$param['inquiry_num'] = $today_count['inquiry_num'] ?? 0;
|
|
|
|
|
|
|
|
$list[] = $param;
|
...
|
...
|
|