作者 lyh

gx

... ... @@ -155,7 +155,7 @@ class ComController extends BaseController
->where(['project_id'=>1])
->where('date','>=',$startTime->toDateString().' 00:00:00')
->where('date','<=',$endTime->toDateString().' 23:59:59')
->sum(['pv_num','ip_num']);
->sum('pv_num,ip_num');
$this->response('success',Code::SUCCESS,$pv);
}
... ...