Commit 5bf98bca authored by zfc's avatar zfc Committed by hujun

经纪人列表

parent bbdde35c
......@@ -279,5 +279,23 @@ class AAgents extends BaseModel
return $result;
}
public function saveList(){
}
//分页列表
public function getList($p = 1, $pageSize = 15, $order_ = 'id desc', $field = '',$join='', $where = '')
{
$data = $this->field($field)
->alias('a')
->join($join)
->where($where)
->order($order_)
->limit($pageSize)
->page($p)
->select();
return $data;
}
}
\ No newline at end of file
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