|
...
|
...
|
@@ -430,7 +430,7 @@ class WebTrafficRussia extends Command |
|
|
|
$data = [];
|
|
|
|
for ($i=0;$i<$num;$i++){
|
|
|
|
//ip国家占比
|
|
|
|
$ip_area = $this->get_rand($this->country_ratio);
|
|
|
|
$ip_area = $this->get_rand($country_ratio);
|
|
|
|
$res = DB::table('gl_xunpan_ipdata')->where('ip_area', $ip_area)->inRandomOrder()->first();
|
|
|
|
$res = (array)$res;
|
|
|
|
$res['diff'] = $time_zones[$res['ip_area']];
|
...
|
...
|
|