Commit faf53bda authored by clone's avatar clone

1

parent 84b9ca71
......@@ -68,7 +68,7 @@ class Shop extends Basic
$params = $this->params;
/*$params = array(
"site_area" => 4, //来源 1c首页 2c搜索 6pc官网商铺列表
"site_area" => 4, //来源 1c首页 2c搜索 6pc官网商铺列表 3h5搜索
// "title" => "vv", //1,2 external_title ,3,4internal_title
"house_id" => 4,
"fit_industry_type" => "",//适合业态
......@@ -195,12 +195,17 @@ class Shop extends Basic
default:
return $this->response("101", "请求数据异常");
}
//补丁
if (isset($params['house_id']) && $params['site_area'] == 3) {
$conditions = [];//制空所有搜索条件
$conditions['id'] = array("eq", $params['house_id']);
}
if (!empty($conditions)) {
$conditions['status'] = array('eq', 1); //只显示上架
$conditions['is_show'] = array('eq', 0); //c端只显示可显示的楼盘
}
$houseIds = "";
if (isset($params['p_district_id']) || isset($params['p_store_id']) || isset($params['p_agent_id'])) {
$p_district_id = empty($params['p_district_id']) ? "" : $params['p_district_id'];
......@@ -215,6 +220,7 @@ class Shop extends Basic
$conditions['id'] = array("in", $houseIds);
}
$result = $this->gHousesModel->getHousesList($pageNo, $pageSize, $order_, $field, $conditions, $spTagArr);
//获取图片信息
......
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