Commit cd1776c9 authored by zw's avatar zw

控制手机端经纪人刷跟进接口

parent 3c7f58b2
...@@ -11,6 +11,7 @@ namespace app\index\controller; ...@@ -11,6 +11,7 @@ namespace app\index\controller;
use app\api_broker\service\CallPhoneService; use app\api_broker\service\CallPhoneService;
use app\api_broker\service\ClientService; use app\api_broker\service\ClientService;
use app\api_broker\service\UserExpiredTimeService; use app\api_broker\service\UserExpiredTimeService;
use app\api_broker\service\VerifyRepetitionService;
use app\extra\RedisExt; use app\extra\RedisExt;
use app\index\extend\Basic; use app\index\extend\Basic;
use app\index\service\UserService; use app\index\service\UserService;
...@@ -38,7 +39,11 @@ class Remark extends Basic ...@@ -38,7 +39,11 @@ class Remark extends Basic
if (!$this->request->isAjax()) { if (!$this->request->isAjax()) {
return view('remark_follow_index'); return view('remark_follow_index');
} }
$vrs = new VerifyRepetitionService();
$is_check = $vrs->followUpClick($this->userId);
if(!$is_check){
return $this->response("101", "请勿频繁请求");
}
$data['status'] = 200; $data['status'] = 200;
$data['msg'] = ''; $data['msg'] = '';
$agent_where = []; $agent_where = [];
......
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