开放接口/特价房(列表)
最后更新:2016-02-18
URL
/rest/special
HTTP请求方式
GET
注意事项
返回数据的排序与平台中前台各位置展示的顺序一致,暂不支持自定义排序
请求参数
参数名 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
token | 是 | string | 后台“开放接口”页面可查看到,代表授权的唯一标识 |
count | 否 | int | 单页返回的记录数,默认为10 |
page | 否 | int | 返回结果的页码,默认为0(初始页码从0开始) |
recom | 否 | int | 是否返回房产首页推荐的特价房,当该值为0时,返回特价房列表页数据,当该值大于0时,返回首页推荐的特价房数据。默认为0 |
返回结果
{
"count": "55",
"data": [
{
"id": "8",
"title": "返乡置业现金红包2000元",
"hid": "2487",
"price_old": "71.92",
"price_new": "65.64",
"image": "http://7xn3sc.com1.z0.glb.clouddn.com/2015/1124/14483530686531302814.jpg",
"room": "5#-甲-3202",
"bed_room": "3房2厅1卫",
"size": "102.75",
"created": "1448343922",
"housetype_img": [
"http://7xn3sc.com1.z0.glb.clouddn.com/2015/1124/14483530780758375796.jpg"
"http://7xn3sc.com1.z0.glb.clouddn.com/2015/1124/16988356430742807379.jpg"
],
"plot": "嘉宏云顶",
"plot_url": "http://house.hangjiayun.com/jiahongyunding"
}
]
}
返回字段说明
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
count | integer | 数据总量 |
data[] | ||
id | integer | 数据id |
title | string | 特价房标题 |
hid | integer | 关联的楼盘id |
price_old | float | 原价 |
price_new | float | 特价 |
image | string | 特价房封面图 |
room | string | 房号 |
bed_room | string | 居室 |
size | string | 面积 |
created | integer | 添加的时间,UNIX时间戳格式 |
housetype_img | array | 特价房户型图 |
plot | string | 关联的楼盘名称 |
plot_url | string | 关联的楼盘主页地址 |