作者 lyh

gx

... ... @@ -54,6 +54,8 @@ class ForwardInquiryCount extends Command
->where('send_time','>=',$startTime.' 00:00:00')
->where('send_time','<=',$endTime.' 23:59:59')
->get();
var_dump($list);
die();
if(!empty($list)){
$list = $list->toArray();
$forwardModel = new ForwardCount();
... ... @@ -66,6 +68,6 @@ class ForwardInquiryCount extends Command
$forwardModel->add($data);
}
}
return true;
return 1;
}
}
... ...