房间列表
基本信息
接口地址: https://rent.pescms.com/home/room/index?houseID=房屋ID&model=room
请求方式: GET
Get参数请求
参数 | 示例值 | 类型 | 默认值 | 是否必填 | 描述 |
---|---|---|---|---|---|
houseID | 8 | string | 必填 | 房屋ID | |
model | room | string | 必填 | 房间模型名称 |
Header参数请求
参数 | 示例值 | 类型 | 默认值 | 是否必填 | 描述 |
---|---|---|---|---|---|
Authorization | Bearer base64(key:secret) | string | 必填 |
成功
成功时返回的结构
{
"code": 0,
"data": {},
"msg": "ok"
}
返回参数说明
参数 | 类型 | 描述 |
---|---|---|
code | string | 状态码 |
data | array | 数据集,详见附表说明 |
msg | string | 提示信息 |
data数据集说明
参数 | 类型 | 描述 |
---|---|---|
contentList | array | 房间列表 |
feeReules | array | 收费规则 |
field | array | 房间模型的字段信息 |
modelInfo | array | 房间模型信息 |
pageTotal | int | 页码数量 |