Commit 39fca8a1 authored by zhuwei's avatar zhuwei

楼层

parent f4f52d96
......@@ -60,6 +60,7 @@ class Shop extends Basic
header('Access-Control-Allow-Origin:*');
$params = $this->params;
big_log(json_encode($params));
/* $params = array(
"site_area" => 4, //来源 1c首页 2c搜索 3b首页 4b搜索 5b报备
// "title" => "vv", //1,2 external_title ,3,4internal_title
......@@ -100,13 +101,13 @@ class Shop extends Basic
if ($params['site_area'] == 1 || $params['site_area'] == 2) {
$field = "id,external_title as title,external_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_exclusive_type";
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price,is_exclusive_type,floor";
} else {
// $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
,is_exclusive_type,is_vip";
,is_exclusive_type,is_vip,floor";
if(empty($params["city"])){
$conditions["city"] = trim($this->city);
}else{
......
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