Commit 1c92adf4 authored by zw's avatar zw

兼容

parent 03a241da
......@@ -54,7 +54,7 @@ class ResultsSummaryNewTask
set_time_limit(0); // 取消脚本运行时间的超时上限
$day = date("Y-m-d", time());
if ($this->redis_ && $this->redis_->get("run_total" . $day)) {
return false;
return;
}
$this->redis_->set("run_total" . $day, 1, 3600);
......@@ -78,7 +78,7 @@ class ResultsSummaryNewTask
unset($this->reportModel);
unset($this->marchInModel);
unset($this->payLogModel);
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