Commit 2c6264aa authored by clone's avatar clone

bug

parent 73f40f06
......@@ -96,7 +96,7 @@ class Shop extends Basic
//c端查对外的名字 b端查对内的名字
if (isset($params['address']) && $params['site_area'] == 1 || $params['site_area'] == 2) {
$conditions['external_address'] = array( "like", "%" . trim($params['address']) . "%" );
} else if (isset($params['title'])) {
} else if (isset($params['address'])) {
$conditions['internal_address'] = array( "like", "%" . trim($params['address']) . "%" );
}
......@@ -280,8 +280,7 @@ class Shop extends Basic
$result["images"] = $this->gHousesImgModel->getHouseImages($param, 15);
$param["img_type"] = 3;//图片类型:1效果图,2实景图,3样板图,4户型图,5交通图
$result["plan_images"] = $this->gHousesImgModel->getHouseImages($param, 1);
$result['landlord_phone'] = json_decode ($result['landlord_phone'], true);
//$result['landlord_phone'] = json_decode ($result['landlord_phone'], true);
$result['create_time'] = date('Y-m-d', strtotime($result['create_time']));
if ($result['status'] == 0) {
return $this->response("101", '此楼盘已下架');
......@@ -297,8 +296,8 @@ class Shop extends Basic
}
//todo 查询成交报告中的提交的业态拼接到已入驻中
$bargaomModel = new OBargainModel();
$str = $bargaomModel->selectBargainListByHouseId($params["id"]);
$bargainModel = new OBargainModel();
$str = $bargainModel->selectBargainListByHouseId($params["id"]);
$result["enter_num"] .= $str;
$verify = new VerifyService();
......
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