文档
测试

房态列表

POST
/roomState/getRoomStatus

请求头

参数名
类型
描述
必填
token
必填
Content-Type
application/json
必填

请求参数

参数名
类型
描述
必填
hotelstates
array
时间
必填
md
"2021-06-07"
必填
week
"星期一"
必填
istable
房型或包栋 1包栋 2房型
必填
hIds
array
选中的民宿id
必填
229
民宿id
必填
201
民宿id
必填
pageParam
分页
必填
size
数据量
必填
current
页码
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
total
int
示例:1
必填
code
int
示例:200
必填
data
object
数据字典
必填
istable
int
(房型或包栋 1房型 2包栋)示例:2
必填
roomRateTiteleList
array
(房间列表)数据列表
必填
roomRateDetails
array
(14天的房型或包栋详情列表)数据列表
必填
hId
int
(民宿id)示例:229
必填
date
string
(日期)示例:2021-06-05
必填
surplusCounts
int
(剩余房间数)示例:1
必填
rooms
array
数据列表
必填
mark
string
(房间名称)示例:房型名称-房间1
必填
orderItems
array
(订单)数据列表
必填
itemId
int
示例:3176
必填
orderId
string
示例:02b3b8e3045a4407934d39a527ddf015
必填
uId
string
示例:defb7b7932
必填
payState
int
支付状态 0:"已预订" 民宿主操作:取消 9:"已拒绝" 4: "已取消" 5:"已支付" 民宿主操作:入住 7: "已入住" 民宿主操作:退房 2: "已退房" 6: "已评价" 10:"待退款" 民宿主操作:退款 3: "已退款"
必填
sumPrice
int
示例:1588
必填
roomNum
string
示例:1735
必填
type
int
示例:1
必填
itemNo
string
示例:YYS16229802629400
必填
checkInTime
string
示例:2021-06-05
必填
checkOutTime
string
示例:2021-06-10
必填
uName
string
示例:yyy
必填
uPhone
string
示例:18563539632
必填
dayNums
int
天数
必填
rid
string
(房间Id)示例:1735
必填
counts
int
(房间数量)示例:1
必填
name
string
(房型或包栋的名称)示例:test
必填
list
array
数据列表
必填
state
boolean
示例:true
必填