myhouse - TimYi/FengHuang GitHub Wiki
请求URL
http://101.200.229.135:8080/api/user/house/{id}
请求方式
GET
请求参数
token:用户凭据
id:路径参数
返回参数
id:id
user:用户信息
city:城市信息 {
id
name:城市名称
level:区域等级
upperArea:上级区域信息,和城市信息相同结构
}
districtName:小区名称
houseType:住宅类型,为字典类型。公寓,复式,别墅,字典类型——house
decorateType:装修类型,为字典类型。简装、精装、旧房改造,字典类型——decorate
area:房屋面积
decorateBudget:装修预算
launchDate:交房日期(yyyy-MM-dd)
decorateDate:装修日期(yyyy-MM-dd)
返回示例
{
"result": [
{
"id": "8aac48364de680fd014de6830c3a0000",
"user": {
"id": "8aac48364dd68c74014dd6c031f10000",
"username": "chxy020",
"verified": true,
"cnname": "ToT",
"realName": "陈宣宇",
"ename": "chenxy",
"sex": {
"id": "404040e64dd26ab5014dd26ac64e0014",
"name": "女",
"attr": null,
"attr2": null,
"type": "sex"
},
"mobile": "15810880522",
"intro": "反反复复",
"email": "",
"qqnum": null,
"qqid": null,
"weixinnum": null,
"weixinid": null,
"birthDay": null,
"bloodType": {
"id": "404040e64dd26ab5014dd26ac3bf0004",
"name": "AB",
"attr": null,
"attr2": null,
"type": "blood"
},
"constellation": {
"id": "404040e64dd26ab5014dd26ac5e10011",
"name": "摩羯座",
"attr": null,
"attr2": null,
"type": "constellation"
},
"avatar": null,
"trade": "IT",
"address": "beijing123",
"expVal": 0,
"integra": 0,
"regTime": "2015-06-09 13:17:09",
"regIp": "211.103.234.234",
"loginTime": "2015-06-11 22:19:18",
"loginip": "175.25.169.70",
"weiboid": null,
"infoComplete": true
},
"city": null,
"districtName": "定福庄东领鉴筑",
"houseType": null,
"area": 640,
"decorateType": null,
"decorateBudget": null,
"launchDate": "2014-05-13 00:00:00",
"decorateDate": null
}
],
"status": "OK"
}