Commit 9734eab9 authored by clone's avatar clone

bug

parent e402b196
......@@ -9,6 +9,7 @@ class Agents extends Model
{
protected $table = 'agents';
/**
* 查询经纪人
*
......@@ -109,9 +110,10 @@ class Agents extends Model
*/
public function getAgentsById($field, $where_)
{
$data = $this
$data = $this
->field($field)
->where($where_)
->group("phone")
->select();
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