|
...
|
...
|
@@ -335,7 +335,7 @@ class RelayInquiry extends Command |
|
|
|
//需要多个ip访问的国家 随机2-5次访问,只有一次询盘
|
|
|
|
if (in_array($val->country_name, $this->multiple_ip_visit_country)) {
|
|
|
|
$times = mt_rand(2, 5); //随机次数
|
|
|
|
$inquiry_time = mt_rand([1, $times]); //第几次询盘
|
|
|
|
$inquiry_time = mt_rand(1, $times); //第几次询盘
|
|
|
|
$this->output('多次访问模拟:' . $times);
|
|
|
|
for ($i = 1; $i <= $times; $i++) {
|
|
|
|
$res += $this->relayDetail($task, $val, $inquiry_time == $i);
|
...
|
...
|
|