文档
测试

酒店订单列表

POST
MeetHotelApi/GetPersonalHotelPageListNew

请求参数

参数名
类型
描述
必填
MetId
int
会议id
必填
UserId
int
用户id
必填

响应参数

参数名
类型
描述
必填
code
int
200-成功
必填
data
必填
Id
int
订单id
必填
UserId
int
用户id
必填
UserName
string
用户姓名
必填
Sex
int
1男2女
必填
h_NameCN
string
酒店名称
必填
r_NameCN
string
房间名称
必填
R_Type
int
R_Type == 1 ? "整间" : "床位"
必填
R_StartTime
time
入住时间
必填
R_RetreatTime
time
离店时间
必填
R_Price
decimal
应收总金额
必填
R_RoomPrice
decimal
整间价格
必填
R_BedPrice
decimal
床位价格
必填
TotalFee
decimal
预定金
必填
Unit
string
单位
必填
CreateTime
time
创建订单时间
必填
SpecialNeed
string
特殊需求
必填
State
int
酒店状态 0-未支付 20-已支付 -1已取消 9退款
必填
TeamId
int
团队id >0 ?团队报名: 个人报名
必填

说明 / 示例

1.剩余30分钟倒计时显示 2.操作按钮判断 if (d.teamId < 1) { if (d.State == 0 && d.IsShowbnt == true) { //去支付 } else if (d.State == 20 && d.TotalFee == 0 && d.IsShowbnt == true) { //取消酒店预订 } else if (d.State == 20 && d.TotalFee > 0 && d.IsShowbnt == true) { if (d.IsRefund == 1) { //查看退款进度 } else { //退款 } } else if (d.State == 0 && d.IsShowbnt == true) { //取消酒店预订 } else if (d.IsShowbnt == false) { //取消酒店预订 //onmouseover = " layer.tips('请联系业务 张三,电话010-888888。', this)" disabled 按钮置灰不可点 if (d.TotalFee > 0) { //退款 //disabled 按钮置灰不可点 } } } else { //取消酒店预订 //onmouseover = " layer.tips('报名方式为:团队注册,请联系团队长进行酒店操作', this)" disabled 按钮置灰不可点 }