Commit 43915eca authored by hujun's avatar hujun

客户跟进时间限制

parent eac9d5f6
...@@ -182,6 +182,13 @@ class Remark extends Basic ...@@ -182,6 +182,13 @@ class Remark extends Basic
return view('remark_follow_index'); return view('remark_follow_index');
} }
if (!empty($this->params['start_date']) || !empty($this->params['end_date'])) {
$time = strtotime($this->params['end_date']) - strtotime($this->params['start_date']);
if ($time > 1296000 || $time < 0) {
return $this->response(101, '搜索时间不能大于15天');
}
}
$m_user = new Users(); $m_user = new Users();
$m_agent = new AAgents(); $m_agent = new AAgents();
......
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