正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -334,7 +334,7 @@ class RelayInquiry extends Command | @@ -334,7 +334,7 @@ class RelayInquiry extends Command | ||
| 334 | foreach ($ad_task as $task){ | 334 | foreach ($ad_task as $task){ |
| 335 | //需要多个ip访问的国家 随机2-5次访问,只有一次询盘 | 335 | //需要多个ip访问的国家 随机2-5次访问,只有一次询盘 |
| 336 | if (in_array($val->country_name, $this->multiple_ip_visit_country)) { | 336 | if (in_array($val->country_name, $this->multiple_ip_visit_country)) { |
| 337 | - $times = mt_rand([2, 5]); //随机次数 | 337 | + $times = mt_rand(2, 5); //随机次数 |
| 338 | $inquiry_time = mt_rand([1, $times]); //第几次询盘 | 338 | $inquiry_time = mt_rand([1, $times]); //第几次询盘 |
| 339 | $this->output('多次访问模拟:' . $times); | 339 | $this->output('多次访问模拟:' . $times); |
| 340 | for ($i = 1; $i <= $times; $i++) { | 340 | for ($i = 1; $i <= $times; $i++) { |
-
请 注册 或 登录 后发表评论