作者 lyh

gx

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