作者 lyh

gx

... ... @@ -111,9 +111,9 @@ class OptimizationReportController extends BaseController
*/
public function currentMonthCount($domain,$project_id){
// 获取当前月的开始时间
$startTime = date('Y-m-01 00:00:00', strtotime('2024-01'));
$startTime = date('Y-m-01', strtotime($this->param['date']));
// 获取当前月的结束时间
$endTime = date('Y-m-t 23:59:59', strtotime('2024-01'));
$endTime = date('Y-m-t', strtotime($this->param['date']));
$arr = [];
$arr = $this->inquiryCount($arr,$startTime,$endTime,$domain);
$arr = $this->flowCount($arr,$startTime,$endTime,$project_id);
... ...