简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2020-08-15 |
请求URL:
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| module | 是 | string | 模块 |
| id | 是 | int | 房屋出租id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"id": 1,
"uid": 16,
"shop_id": 1,
"title": "桔社公寓 1室1厅1卫",
"old_price": "1000.00",
"price": "1000.00",
"icon_ids": [
"1",
"2",
"3",
"4",
"5"
],
"cover": "service/2020/07/11/5f09722c95323.png",
"imgs": [
"service/2020/07/11/5f09722c95323.png",
"service/2020/07/11/5f09722c95323.png"
],
"room": 1,
"hall": 1,
"bathroom": 1,
"status": 1,
"area": 30,
"floor": 0,
"orientation": "南",
"phone": "13113690000",
"create_at": "2020-08-15 11:38:34",
"update_at": 1597462714,
"is_recommend": 0,
"cover_view": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
"imgs_view": [
"http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
"http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png"
],
"collection_shop_status": true
}
}
错误时返回:
{
"status": 0,
"msg": "参数错误"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | id |
| uid | int | uid |
| shop_id | int | 店铺id |
| title | string | 标题 |
| price | string | 价格 |
| icon_ids | string | 选项id,例如:1,2,3 |
| cover_view | string | 封面全路径 |
| imgs_view | array | 轮播图全路径 |
| status | string | 状态【1=上架,2=下架】 |
| area | string | 面积 |
| floor | string | 楼层 |
| orientation | string | 朝向 |
| phone | string | 手机号 |
| create_at | string | 创建时间 |
| room_type | string | 房型 |
| view_phone_status | bool | true=已购买查看手机,false=未购买 |
| address | string | 地址 |
| longitude | string | 经度 |
| latitude | string | 纬度 |
| collection_shop_status | bool | 店铺收藏 【true=已收藏,false=未收藏】 |
备注:
- 无
作者:admin 创建时间:2020-08-15 15:59
更新时间:2025-04-10 15:43
更新时间:2025-04-10 15:43