Commit 143e2580 authored by zw's avatar zw

验证

parent 31fecada
...@@ -108,6 +108,8 @@ class FollowUpTask ...@@ -108,6 +108,8 @@ class FollowUpTask
*/ */
public function moveFollowUpList() public function moveFollowUpList()
{ {
$key = $_GET["key"];
//todo 判断参数和时间 //todo 判断参数和时间
$checkDayStr = date('Y-m-d ', time()); $checkDayStr = date('Y-m-d ', time());
$timeBegin1 = strtotime($checkDayStr . "0:10" . ":00"); $timeBegin1 = strtotime($checkDayStr . "0:10" . ":00");
...@@ -115,7 +117,8 @@ class FollowUpTask ...@@ -115,7 +117,8 @@ class FollowUpTask
$curr_time = time(); $curr_time = time();
if ($curr_time < $timeBegin1 || $curr_time > $timeEnd1) { if (!$key || $key!= "zw" ||$curr_time < $timeBegin1 || $curr_time > $timeEnd1) {
echo "hello world";
return; 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]);
......
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