Commit 5fa0dad5 authored by hujun's avatar hujun

商铺详情修改

parent e9764556
......@@ -248,7 +248,7 @@ class Shop extends Basic
a.industry_type,a.shop_area_start,a.shop_area_end,a.shop_type,a.residue_num,a.shop_sign,a.is_carefully_chosen,a.rent_type,
a.rent_price,a.management_fee,a.slotting_fee,a.total,a.market_area,a.is_has_gas,a.file_path,a.longitude,a.latitude,
b.enter_num,b.internal_item_advantage as item_advantage,b.sign_rule,b.do_business_date, b.opening_date,b.traffic,
b.auditorium,b.tiny_brochure_url,b.start_business_date,a.upload_id,b.fee_rule";
b.auditorium,b.tiny_brochure_url,b.start_business_date,a.upload_id,b.fee_rule,b.landlord_remark,b.landlord_phone,a.create_time";
}
$conditions['a.id'] = array( "eq", $params["id"] );
......@@ -281,6 +281,8 @@ class Shop extends Basic
$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['create_time'] = date('Y-m-d', strtotime($result['create_time']));
if ($result['status'] == 0) {
return $this->response("101", '此楼盘已下架');
}
......
......@@ -4,8 +4,6 @@ namespace app\model;
use think\Db;
use think\Log;
use think\Session;
class GHouses extends BaseModel
......
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