作者 赵彬吉

update

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