作者 lyh

gx

... ... @@ -82,11 +82,11 @@ class OptimizationReportController extends BaseController
'labels' => array_keys($indexed_pages['data'] ?? []),
'data' => array_values($indexed_pages['data'] ?? []),
];
// //月统计报告
// $data['month_count'] = $this->currentMonthCount($domain_info['domain'],$this->param['project_id']);
// //测速
// $speed = Speed::where('project_id', $this->param['project_id'])->first();
// $data['speed'] = $speed['data'] ?? [];
//月统计报告
$data['month_count'] = $this->currentMonthCount($domain_info['domain'],$this->param['project_id']);
//测速
$speed = Speed::where('project_id', $this->param['project_id'])->first();
$data['speed'] = $speed['data'] ?? [];
// //询盘
// $data['inquiry'] = $this->getApiList($projectInfo);
DB::disconnect('custom_mysql');
... ...