|
...
|
...
|
@@ -100,6 +100,7 @@ class DownloadProject extends Command |
|
|
|
$sheet->setCellValue('D1', '终端');
|
|
|
|
$sheet->setCellValue('E1', '国家ip');
|
|
|
|
$sheet->setCellValue('F1', '深度访问页数');
|
|
|
|
$sheet->setCellValue('G1', '国家');
|
|
|
|
$rowCount = 2;
|
|
|
|
foreach ($data as $v) {
|
|
|
|
$sheet->setCellValue('A' . $rowCount, $v['created_at']);
|
|
...
|
...
|
@@ -108,6 +109,7 @@ class DownloadProject extends Command |
|
|
|
$sheet->setCellValue('D' . $rowCount, $v['device_text']);
|
|
|
|
$sheet->setCellValue('E' . $rowCount, $v['ip']);
|
|
|
|
$sheet->setCellValue('F' . $rowCount, $v['depth']);
|
|
|
|
$sheet->setCellValue('G' . $rowCount, $v['country']);
|
|
|
|
$rowCount++;
|
|
|
|
}
|
|
|
|
// 创建一个新的 Excel Writer 对象
|
...
|
...
|
|