文档
测试

根据设备mac 获取房源信息

GET
http://localhost:8083/landlord/getTenementByMac?mac=868163045155493

请求头

参数名
类型
描述
必填
token
string
示例:eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxLTE4ODU4NDQyMzg1IiwiY3JlYXRlZCI6MTU5NjQyMTIzNDM4Mn0.VgQg7uSeya8v8ZFMn3nkhpmr5lWdLru8NkCsDcIA7maJp57kxJeSKO1P5PuE6lXU9IClUARKDHLuzpdvjDPz3g
必填

请求参数

参数名
类型
描述
必填
mac
int
(IMEI)示例:868163045155493
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:请求成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
roomCount
int
(已添加房间数)示例:2
必填
tenement
object
数据字典
必填
tresidentialArea
string
(省市区)示例:浙江省,宁波市,余姚市
必填
tid
int
(房屋id)示例:384
必填
tleaseState
int
('1整租 2合租)示例:2
必填
thouseType
int
( 几代表几间)示例:3
必填
tatid
int
(小区id)示例:254
必填
tlongitude
string
示例:121.16058
必填
tlatitude
string
示例:30.042734
必填
tmac
string
示例:868163045155493
必填
temergencyPwd
string
(身份证)示例:330282199708293433
必填
tlandlordId
int
示例:57
必填
tvillageName
string
(小区名)示例:坎墩小区
必填
taddress
string
(地址)示例:泗门镇泗北村大路头石桥头路20号
必填
thouseNo
string
(房屋号)示例:101
必填
isElevator
'1有电梯 2没有'
可选
tfloor
楼层
必填