Commit 0f7e914a authored by hujun's avatar hujun

客户跟进时间限制

parent 13a5219c
......@@ -182,6 +182,13 @@ class Remark extends Basic
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_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