作者 zhl

流量统计

@@ -51,7 +51,6 @@ class Flow extends Command @@ -51,7 +51,6 @@ class Flow extends Command
51 $date = date('Y-m-d', strtotime($end_at)); 51 $date = date('Y-m-d', strtotime($end_at));
52 echo 'start_at: ' . $start_at . PHP_EOL; 52 echo 'start_at: ' . $start_at . PHP_EOL;
53 echo 'end_at: ' . $end_at . PHP_EOL; 53 echo 'end_at: ' . $end_at . PHP_EOL;
54 - dd($start_at, $end_at);  
55 $result = $class->realTimeStatistics($start_at, $end_at); 54 $result = $class->realTimeStatistics($start_at, $end_at);
56 55
57 file_put_contents(storage_path('logs/flow/' . date('YmdHis', strtotime($start_at)) . '.json'), $result); 56 file_put_contents(storage_path('logs/flow/' . date('YmdHis', strtotime($start_at)) . '.json'), $result);