Commit 20501bf5 authored by hujun's avatar hujun

删除重复代码

parent 2e31af63
......@@ -122,23 +122,6 @@ class Agents extends Model
return $data;
}
/**
* 获取经纪人 by zw
* @param $field
* @param $id
* @return array|false|\PDOStatement|string|Model
*/
public function getAgentsById($field , $id)
{
return $this
->field($field)
->where('inuse = 1 and id = ' . $id)
->find();
return $data;
}
/**
* 查询经纪人列表
*
......
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