Commit 45d1f6a7 authored by hujun's avatar hujun

1

parent 23801a80
......@@ -46,15 +46,15 @@ class PhoneFollowUpService
$page_no = isset($params['page_no']) ? $params['page_no'] : 1;
$page_size = isset($params['page_size']) ? $params['page_size'] : 15;
// $is_check = $vrs->followUpClick($agent_id);
// if($page_no == 1 && !$is_check){
// $is_bool = $vrs->getCurrTimeSection();
// $msg = "请勿频繁请求";
// if($is_bool) {
// $msg = "高峰期间每10秒钟只能搜索一次(6.30-8.30)";
// }
// return ['code'=>'101','data'=>$msg];
// }
$is_check = $vrs->followUpClick($agent_id);
if($page_no == 1 && !$is_check){
$is_bool = $vrs->getCurrTimeSection();
$msg = "请勿频繁请求";
if($is_bool) {
$msg = "高峰期间每10秒钟只能搜索一次(6.30-8.30)";
}
return ['code'=>'101','data'=>$msg];
}
$where = ' 1=1 ';
if (empty($start_time) || empty($end_time)) {
return ['code'=>'101','data'=>'时间不能为空'];
......
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