|
...
|
...
|
@@ -146,6 +146,7 @@ class WebTraffic extends Command |
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
try {
|
|
|
|
$type = $this->argument('type');
|
|
|
|
|
|
|
|
$this->sleep($type);
|
|
...
|
...
|
@@ -205,6 +206,9 @@ class WebTraffic extends Command |
|
|
|
|
|
|
|
$page++;
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
|
|
|
Log::channel('traffic')->error($e->getMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|