正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -430,7 +430,7 @@ class WebTrafficRussia extends Command | @@ -430,7 +430,7 @@ class WebTrafficRussia extends Command | ||
| 430 | $data = []; | 430 | $data = []; |
| 431 | for ($i=0;$i<$num;$i++){ | 431 | for ($i=0;$i<$num;$i++){ |
| 432 | //ip国家占比 | 432 | //ip国家占比 |
| 433 | - $ip_area = $this->get_rand($this->country_ratio); | 433 | + $ip_area = $this->get_rand($country_ratio); |
| 434 | $res = DB::table('gl_xunpan_ipdata')->where('ip_area', $ip_area)->inRandomOrder()->first(); | 434 | $res = DB::table('gl_xunpan_ipdata')->where('ip_area', $ip_area)->inRandomOrder()->first(); |
| 435 | $res = (array)$res; | 435 | $res = (array)$res; |
| 436 | $res['diff'] = $time_zones[$res['ip_area']]; | 436 | $res['diff'] = $time_zones[$res['ip_area']]; |
-
请 注册 或 登录 后发表评论