Commit effa134d authored by zhuwei's avatar zhuwei

1

parent d7add796
......@@ -118,7 +118,7 @@ class UserLog extends Basic{
$pageSize = empty($params['page_size']) ? 15 : $params['page_size'];
if($params['entrust_type'] == 1){
if(isset($params['entrust_type']) && $params['entrust_type'] == 1){
return $this->response("101", "请求数据为空");
}else{
$result = $this->service_->phoneFollowUpNew($user_id,$this->siteId,$pageNo,$pageSize);
......@@ -151,7 +151,7 @@ class UserLog extends Basic{
$pageNo = empty($params['page_no']) ? 1 : $params['page_no'];
$pageSize = empty($params['page_size']) ? 15 : $params['page_size'];
if($params['entrust_type'] == 1){
if(isset($params['entrust_type']) && $params['entrust_type'] == 1){
$result = $this->OfficeUserLogService->phoneFollowUp($user_id,$this->siteId,$pageNo,$pageSize);
}else{
$result = $this->service_->phoneFollowUp($user_id,$this->siteId,$pageNo,$pageSize);
......
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