开放接口/图片相册(列表)

最后更新:2016-10-10

URL

/rest/plotImg

HTTP请求方式

GET

注意事项

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

请求参数

参数名 必选 类型及范围 说明
token string 后台“开放接口”页面可查看到,代表授权的唯一标识
count int 单页返回的记录数,默认为10
page int 返回结果的页码,默认为0(初始页码从0开始)
hid int 是否返回某特定楼盘的相册列表,0代表返回所有楼盘的相册列表,默认为0
type int 是否返回指定类型的相册列表,0代表返回所有类型的相册列表,默认为0

返回结果

{
  "count": "45",
  "data": [
    {
      "id": "22862",
      "hid": "20",
      "type": "22",
      "title": "样板房开放",
      "url": "http://pic.hualongxiang.com/app/image/2015/0118/1421590712-246961.jpg",
      "is_cover": "0",
      "created": "1448343838",
      "plot": "华润国际社区",
      "plot_url": "http://www.hjhouse.com/huarunguojishequ",
      "type_name": "活动图"
    }
  ]
}

返回字段说明

返回值字段 字段类型 字段说明
count integer 数据总量
data[]
id integer 数据id
hid integer 关联的楼盘id
type integer 图片类型
title string 图片名称
url string 图片地址
is_cover integer 是否为封面
created string 创建时间
plot string 关联的楼盘
plot_url string 楼盘链接
type_name string 图片类型名称