文档
测试

上传新房源

POST
http://localhost/api/house/info

接口描述

json格式提交数据

请求参数

参数名
类型
描述
必填
title
string
房屋标题
必填
price
string
每晚价格
必填
area_id
string
所在城区
必填
address
string
详细地址
必填
room_count
string
出租房间数目
必填
acreage
string
房屋面积
必填
unit
string
户型描述
必填
capacity
string
宜居人数
必填
beds
string
卧床配置
必填
deposit
string
押金数额
必填
min_days
string
最少入住天数
必填
max_days
string
最多入住天数(0表示无限制)
必填
facility
list
配套设施
必填

响应参数

参数名
类型
描述
必填
errcode
string
错误代码
必填
errmsg
string
错误详情
必填