作者 赵彬吉

test

@@ -517,7 +517,7 @@ class RelayInquiryTest extends Command @@ -517,7 +517,7 @@ class RelayInquiryTest extends Command
517 $this->output('写入数据'); 517 $this->output('写入数据');
518 518
519 $pre = 0; 519 $pre = 0;
520 - $start_time = strtotime($form->inquiry_date . ' + 4 days'); 520 + $start_time = strtotime($form->inquiry_date);
521 if($start_time < time()){ 521 if($start_time < time()){
522 $start_time = time(); 522 $start_time = time();
523 $seconds = rand(0, 72 * 3600); // 3天内发完 523 $seconds = rand(0, 72 * 3600); // 3天内发完
@@ -586,7 +586,7 @@ class RelayInquiryTest extends Command @@ -586,7 +586,7 @@ class RelayInquiryTest extends Command
586 $user_agent = $form->email ? Arr::random($this->pc_ua) : Arr::random($this->mobile_ua); 586 $user_agent = $form->email ? Arr::random($this->pc_ua) : Arr::random($this->mobile_ua);
587 $referrer = $this->getReferer($country_name, $lang); 587 $referrer = $this->getReferer($country_name, $lang);
588 588
589 - $start_time = strtotime($form->inquiry_date . ' + 13 days'); 589 + $start_time = strtotime($form->inquiry_date);
590 if($start_time < time()){ 590 if($start_time < time()){
591 $start_time = time(); 591 $start_time = time();
592 $seconds = rand(0, 48 * 3600); // 开始时间 从5-2小时后开始 592 $seconds = rand(0, 48 * 3600); // 开始时间 从5-2小时后开始
@@ -628,7 +628,7 @@ class RelayInquiryTest extends Command @@ -628,7 +628,7 @@ class RelayInquiryTest extends Command
628 $device_port = $form->email ? '1' : '2'; //1 pc 2移动端 628 $device_port = $form->email ? '1' : '2'; //1 pc 2移动端
629 $user_agent = $form->email ? Arr::random($this->pc_ua) : Arr::random($this->mobile_ua); 629 $user_agent = $form->email ? Arr::random($this->pc_ua) : Arr::random($this->mobile_ua);
630 630
631 - $start_time = strtotime($form->inquiry_date . ' + 13 days'); 631 + $start_time = strtotime($form->inquiry_date);
632 if($start_time < time()){ 632 if($start_time < time()){
633 $start_time = time(); 633 $start_time = time();
634 $seconds = rand(0, 10 * 3600); // 开始时间 从5-2小时后开始 634 $seconds = rand(0, 10 * 3600); // 开始时间 从5-2小时后开始