文档
测试

获取优惠

POST
webRoomResource/getDiscounts

请求参数

参数名
类型
描述
必填
mId
民宿主id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
discountsDto
object
数据字典
必填
firstDiscounts
object
首次入住折扣
必填
discountsId
int
示例:403
必填
discount
int
(房价折扣)示例:1
必填
startDate
string
(开始时间)示例:2021-08-20
必填
endDate
string
(结束时间)示例:2021-09-29
必填
continuousDiscountsList
array
连续入住折扣
必填
discountsId
int
示例:405
必填
fullDay
int
(连续住满天数)示例:3
必填
discount
int
(折扣)示例:5
必填
startDate
string
示例:2021-08-25
必填
endDate
string
示例:2021-09-30
必填
frontDiscounts
object
数据字典
必填
discountsId
int
示例:404
必填
discount
int
(折扣)示例:5
必填
frontDay
int
(提前几天预订)示例:2
必填
bigWaitDay
int
(且入住天数大于等于天数)示例:3
必填
code
int
示例:200
必填
state
boolean
示例:true
必填