|
...
|
...
|
@@ -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');
|
|
|
|
->select('sum(pv_num) as pv_num,sum(ip_num) as ip_num')->get();
|
|
|
|
|
|
|
|
$this->response('success',Code::SUCCESS,$pv);
|
|
|
|
}
|
...
|
...
|
|