Commit 31fecada authored by zw's avatar zw

kongzhi xia

parent a653ff9c
...@@ -108,6 +108,16 @@ class FollowUpTask ...@@ -108,6 +108,16 @@ class FollowUpTask
*/ */
public function moveFollowUpList() public function moveFollowUpList()
{ {
//todo 判断参数和时间
$checkDayStr = date('Y-m-d ', time());
$timeBegin1 = strtotime($checkDayStr . "0:10" . ":00");
$timeEnd1 = strtotime($checkDayStr . "0:50" . ":00");
$curr_time = time();
if ($curr_time < $timeBegin1 || $curr_time > $timeEnd1) {
return;
}
$site_arr = $this->siteModel->getSite("id,name,city,is_del", ["is_del" => 0]); $site_arr = $this->siteModel->getSite("id,name,city,is_del", ["is_del" => 0]);
if (count($site_arr) <= 0) { if (count($site_arr) <= 0) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment