Commit 0f526851 authored by zhuwei's avatar zhuwei

接口调整

parent 1643e76c
...@@ -174,13 +174,12 @@ class Remark extends Basic ...@@ -174,13 +174,12 @@ class Remark extends Basic
} }
if ($UPhoneFollowPp_res) {
$user = new Users(); $user = new Users();
$user_res =$user->useraction_search_user_res($user_id); $user_res =$user->useraction_search_user_res($user_id);
//dump($user_res); //dump($user_res);
$user_res['user_pic']=HEADERIMGURL.$user_res['user_pic']; $user_res['user_pic']=HEADERIMGURL.$user_res['user_pic'];
$table= new Agents(); $table= new Agents();
$Agents_res =$table->Agents_res($v['agent_id']); $Agents_res =$table->Agents_res($user_res['agent_id']);
//dump($Agents_res); //dump($Agents_res);
$user_res['agentinfo']=$Agents_res?$Agents_res['realname'].'/'.$Agents_res['phone']:'未知'; $user_res['agentinfo']=$Agents_res?$Agents_res['realname'].'/'.$Agents_res['phone']:'未知';
...@@ -190,9 +189,6 @@ class Remark extends Basic ...@@ -190,9 +189,6 @@ class Remark extends Basic
//dump($user_id); //dump($user_id);
return $this->response("200", "success!", ['user_info'=>$user_res,'user_date'=>$UPhoneFollowPp_res,'user_history'=>$records_result]); return $this->response("200", "success!", ['user_info'=>$user_res,'user_date'=>$UPhoneFollowPp_res,'user_history'=>$records_result]);
} else {
return $this->response("101", "失败!");
}
} }
......
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