作者 赵彬吉

update

... ... @@ -999,9 +999,9 @@ class RelayInquiry extends Command
//随机分配到未投放广告日期
$now = time();
// 随机开始时间(本周四或现在)
$startTime = max($now, strtotime('next monday'));
$startTime = max($now, strtotime('this thursday'));
$random = mt_rand($startTime, strtotime('this thursday'));
$random = mt_rand($startTime, strtotime('next monday'));
$delay = $random - $now;
$this->output('非广告投放日第一封询盘 概率' . (100 - $task->second_push_rate) . '%延迟推送' . $delay);
... ...