文档
测试

租房列表

GET
http://192.168.110.211:50012/house/list?current=1&size=20

请求头

参数名
类型
描述
必填
Authorization
string
token
必填

请求参数

参数名
类型
描述
必填
current
int
必填
size
int
必填
houseType
int
房屋类型 0.仓库 1.办公区 2.宿舍
必填
status
int
0.提交申请1.审批中2.待转款3.待传合同(押金)4.已完成
必填

响应参数

参数名
类型
描述
必填
status
int
示例:200
必填
msg
string
示例:OK
必填
data
object
数据字典
必填
records
array
数据列表
必填
id
int
房屋id
必填
houseType
int
房屋类型
必填
status
int
房屋状态 0.正常 1.即将到期 2.已到期
必填
houseName
string
房屋名称
必填
houseLine
string
房屋详细地址
必填
longitude
float
经度
必填
latitude
float
纬度
必填
rentStartTime
string
起租日期
必填
rentEndTime
string
结束日期
必填
area
float
房屋面积
必填
phone
string
房东电话
必填
description
string
房屋描述
必填
bed
object
床位数量
必填
isDb
int
是否接入德邦
必填
rentPictureUrl
string
租房照片
必填
deposit
float
押金金额
必填
depositPictureUrl
string
押金条照片
必填
total
int
示例:1
必填
size
int
示例:20
必填
current
int
示例:1
必填
searchCount
boolean
示例:true
必填
pages
int
示例:1
必填
ok
boolean
示例:true
必填

说明 / 示例

返回参数: ```` { "status": 200, "msg": "OK", "data": { "records": [ { "id": 1, "houseType": 0, "houseName": "临沂兰山仓库1", "longitude": 51.555000, "latitude": 41.444400, "rentStartTime": "2021-09-13", "rentEndTime": "2022-09-14", "area": 1000.5, "phone": "13691461802", "description": "122132", "bed": null, "isDb": 1, "rentPictureUrl": "www.baidu.com", "deposit": 10000.90, "depositPictureUrl": "www.github.com", "renewPrice": null, "renewPicture": null, "fnCreateTime": "2021-09-14T01:37:53.000+0000", "fnCreateName": "yjc", "fnCreateId": "MICS_USER_001", "fnUpdateName": null, "fnUpdateId": null, "fnUpdateTime": null, "isDelete": 0, "houseSubList": null, "housePersonList": null }, { "id": 2, "houseType": 2, "houseName": "临沂员工宿舍A", "longitude": 51.555000, "latitude": 41.444400, "rentStartTime": "2021-09-13", "rentEndTime": "2022-09-14", "area": 1000.5, "phone": "13691461802", "description": "122132", "bed": 8, "isDb": 1, "rentPictureUrl": "www.baidu.com", "deposit": 10000.90, "depositPictureUrl": "www.github.com", "renewPrice": null, "renewPicture": null, "fnCreateTime": "2021-09-14T01:38:11.000+0000", "fnCreateName": "yjc", "fnCreateId": "MICS_USER_001", "fnUpdateName": null, "fnUpdateId": null, "fnUpdateTime": null, "isDelete": 0, "houseSubList": null, "housePersonList": [ { "id": 2, "houseId": 2, "participantId": "MICS_USER_001", "participantName": "俊超", "checkInTime": "2021-09-14T01:40:19.000+0000", "checkOutTime": null, "fnCreateName": "yjc", "fnCreateId": "MICS_USER_001", "status": 0, "isDelete": null } ] }, { "id": 3, "houseType": 1, "houseName": "临沂兰山写字楼", "longitude": 51.555000, "latitude": 41.444400, "rentStartTime": "2021-09-13", "rentEndTime": "2022-09-14", "area": 1000.5, "phone": "13691461802", "description": "122132", "bed": null, "isDb": 1, "rentPictureUrl": "www.baidu.com", "deposit": 10000.90, "depositPictureUrl": "www.github.com", "renewPrice": null, "renewPicture": null, "fnCreateTime": "2021-09-14T01:38:20.000+0000", "fnCreateName": "yjc", "fnCreateId": "MICS_USER_001", "fnUpdateName": null, "fnUpdateId": null, "fnUpdateTime": null, "isDelete": 0, "houseSubList": [ { "id": 4, "houseId": 3, "name": "1111", "area": 12.5, "picture": "www.baidu.com", "bz": "sacsac", "fnCreateName": null, "fnCreateId": null, "fnCreateTime": null, "isDelete": 0 } ], "housePersonList": null } ], "total": 3, "size": 20, "current": 1, "searchCount": true, "pages": 1 }, "ok": true } ``` `