|
...
|
...
|
@@ -445,6 +445,9 @@ class WebTrafficRussiaSpecial extends Command |
|
|
|
}
|
|
|
|
$ip_area = $this->get_rand($project_country);
|
|
|
|
$res = DB::table('gl_xunpan_ipdata')->where('ip_area', $ip_area)->inRandomOrder()->first();
|
|
|
|
if(!$res){
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
$res = (array)$res ?: [];
|
|
|
|
$res['diff'] = $time_zones[$res['ip_area']];
|
|
|
|
$data[] = $res;
|
...
|
...
|
|