Commit 17b64f28 authored by hujun's avatar hujun

跟进列表空返回

parent 438eaffe
...@@ -109,7 +109,10 @@ class Remark extends Basic ...@@ -109,7 +109,10 @@ class Remark extends Basic
$m_agent = new AAgents(); $m_agent = new AAgents();
$agent_id_arr = $m_agent->getAgentById('id', $agent_where); $agent_id_arr = $m_agent->getAgentById('id', $agent_where);
if (!empty($agent_id_arr)) { if (empty($agent_id_arr)) {
$data['data']['list'] = [];
return $this->response(200,'', $data); //处理经纪人空数据
} else {
foreach ($agent_id_arr as $K=>$v) { foreach ($agent_id_arr as $K=>$v) {
$agent_id[] = $v['id']; $agent_id[] = $v['id'];
} }
......
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