tp中时间戳字段按天查询
$data = Customeraa::whereBetweenTime('completion_date',$firstTime,$lastTime)->field('sum(page) as sumpage,FROM_UNIXTIME(completion_date,"%Y-%m-%d") as date')->group('date')->select()->toArray();
$data = Customeraa::whereBetweenTime('completion_date',$firstTime,$lastTime)->field('sum(page) as sumpage,FROM_UNIXTIME(completion_date,"%Y-%m-%d") as date')->group('date')->select()->toArray();