|
...
|
...
|
@@ -39,6 +39,13 @@ class OptimizationReportController extends BaseController |
|
|
|
* @time :2024/3/7 15:54
|
|
|
|
*/
|
|
|
|
public function getOptimizationReport(){
|
|
|
|
$this->request->validate([
|
|
|
|
'project_id' => 'required',
|
|
|
|
'date'=>'required',
|
|
|
|
], [
|
|
|
|
'project_id.required' => '项目id不能为空',
|
|
|
|
'date.required' => '时间不能为空',
|
|
|
|
]);
|
|
|
|
ProjectServer::useProject($this->param['project_id']);
|
|
|
|
$data = [];
|
|
|
|
$projectModel = new Project();
|
|
...
|
...
|
@@ -55,6 +62,7 @@ class OptimizationReportController extends BaseController |
|
|
|
'cert_info' => date('Y-m-d', strtotime($domain_info['certificate_start_time'])) . ' - ' .date('Y-m-d', strtotime($domain_info['certificate_end_time'])),
|
|
|
|
];
|
|
|
|
}
|
|
|
|
$data['domain'] = $domain_info;
|
|
|
|
//方案信息
|
|
|
|
$data['plan_information'] = $this->plan_information($projectInfo);
|
|
|
|
//排名数据
|
...
|
...
|
|