Commit df56a23d authored by hujun's avatar hujun

1

parent 2f719596
......@@ -107,6 +107,7 @@ class Location extends Basic
}
$m_agent = new AAgents();
$agent_where['name'] = ['like', '%'.$params['agent_name'].'%'];
$agent_where['status'] = 0;
$agent_id = $m_agent->getFieldOneValue('id', $agent_where);
if (empty($agent_id)) {
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