Commit df0a22ef authored by clone's avatar clone

1

parent f6be28e2
......@@ -160,7 +160,7 @@ class FindShop extends Basic
$s_house = new HouseService();
if (isset($params['disc'])) { //区域
if (isset($params['disc']) && $params['disc'] != "全部" ) { //区域
$conditions['disc'] = array('eq', trim($params['disc']));
}
......
......@@ -56,6 +56,7 @@ class UFindShop extends Model{
->join("u_users b","a.user_id = b.id","left")
->field($field)
->where($params)
->order("id desc")
->page($page_no)
->limit($page_size)
->select();
......
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