开放接口/特惠团(列表)

最后更新:2016-02-19

URL

/rest/tuan

HTTP请求方式

GET

注意事项

返回数据的排序与平台中前台各位置展示的顺序一致,暂不支持自定义排序

请求参数

参数名 必选 类型及范围 说明
token string 后台“开放接口”页面可查看到,代表授权的唯一标识
count int 单页返回的记录数,默认为10
page int 返回结果的页码,默认为0(初始页码从0开始)
recom int 是否返回房产首页推荐的特惠团,当该值为0时,返回特惠团列表页数据,当该值大于0时,返回首页推荐的特惠团数据。默认为0

返回结果

{
    "count": "8",
    "data": [
        {
            "id": "16",
            "hid": "2394",
            "title": "【嘉禾尚郡】5080/5180一口价 给利到底",
            "s_title": "85-106㎡美宅 一口价",
            "url": "",
            "hongbao": "",
            "created": "1450229347",
            "plot": "嘉禾尚郡",
            "plot_url": "http://h.hualongxiang.com/jiaheshangjun",
            "pc_img": "http://7xn3sc.com1.z0.glb.clouddn.com/2015/1216/14502292818432933453.png"
        }
    ]
}

返回字段说明

返回值字段 字段类型 字段说明
count integer 数据总量
data[]
id integer 数据id
hid integer 关联的楼盘id
title string 标题
s_title string 副标题
url string 跳转链接地址
hongbao integer 红包优惠价格
created integer 添加的时间,UNIX时间戳格式
plot string 关联的楼盘名称
plot_url string 关联的楼盘主页地址
pc_img string 封面图地址