Commit 792223d7 authored by zhuwei's avatar zhuwei

1

parent 762302d6
......@@ -789,6 +789,7 @@ class User extends Basic
}
/**
* 电话跟进
* @return \think\Response
......@@ -817,6 +818,34 @@ class User extends Basic
}
}
/**
* 电话跟进
* @return \think\Response
*/
public function followUpLogNew(){
$params = $this->params;
/* $params = array(
"user_id" => 828,
"page_no" => 1,
"page_size" => 15
);*/
if (!isset($params['user_id'])) {
return $this->response("101", "参数不全");
}
$user_id = $params['user_id'];
$pageNo = empty($params['page_no']) ? 1 : $params['page_no'];
$pageSize = empty($params['page_size']) ? 15 : $params['page_size'];
$result = $this->userLogService->phoneFollowUpNew($user_id,$this->siteId,$pageNo,$pageSize);
if(count($result) > 0){
return $this->response("200", "success!", $result);
}else{
return $this->response("101", "请求数据为空");
}
}
/**
* 客户详情-详细信息-
......
......@@ -768,10 +768,10 @@ Route::group('broker', [
'userDetail' => [ 'api_broker/User/userDetail', [ 'method' => 'get|post' ] ],//
'userLog' => [ 'api_broker/User/userLog', [ 'method' => 'get|post' ] ],//
'followUpLog' => [ 'api_broker/User/followUpLog', [ 'method' => 'get|post' ] ],//
'followUpLogNew' => [ 'api_broker/User/followUpLogNew', [ 'method' => 'get|post' ] ],//
'userDetailFull' => [ 'api_broker/User/userDetailFull', [ 'method' => 'get|post' ] ],//
'addUserBind' => [ 'api_broker/User/addUserBind', [ 'method' => 'get|post' ] ],
'removeUserBind' => [ 'api_broker/User/removeUserBind', [ 'method' => 'get|post' ] ],
'addUserBind' => [ 'api_broker/User/addUserBind', [ 'method' => 'get|post' ] ],
'removeUserBind' => [ 'api_broker/User/removeUserBind', [ 'method' => 'get|post' ] ],
]);
......
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