作者 赵彬吉

update

... ... @@ -177,10 +177,10 @@ class RelayInquiry extends Command
$this->output('开始处理本轮询盘!');
foreach ($inquiry as $key=>$val) {
$this->output('询盘ID:' . $val->id);
//询盘时间超过半小时 就不处理了
if(time() - strtotime($val->inquiry_date) > 1800){
//询盘时间超过90分钟 就不处理了
if(time() - strtotime($val->inquiry_date) > 90 * 60){
$val->status = ReInquiryForm::STATUS_FORGO;
$val->remark = '超时30分钟未处理!';
$val->remark = '超时90分钟未处理!';
$val->save();
continue;
}
... ...