Commit 38d7e40f authored by zw's avatar zw

searchOrder bug

parent 9e3bc72a
...@@ -102,8 +102,12 @@ class Shop extends Basic ...@@ -102,8 +102,12 @@ class Shop extends Basic
$field = "id,internal_title as title,internal_address as address,city,disc,business_district_id,status,industry_type $field = "id,internal_title as title,internal_address as address,city,disc,business_district_id,status,industry_type
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price,is_lock ,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price,is_lock
,is_exclusive_type,is_vip"; ,is_exclusive_type,is_vip";
if(empty($params["city"])){
$conditions["city"] = trim($this->city); $conditions["city"] = trim($this->city);
}else{
$conditions["city"] = $params["city"];
}
} }
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo']; $pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
......
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