tourist

undefined


【H5】H5提交预约信息

<h5>简要描述</h5> <ul> <li>H5提交预约信息</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://dev-app-finclip.azurewebsites.net/app/user/booking/applyViaH5</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>请求参数示例</h5> <pre><code>{ "username": "aaa", "companions": "1", "idCard": "1234", "book_date": "2024-04-28", "booking_rule_slot_id": 2, "entourageInfo": "[{\"name\":\"A\"}]" } </code></pre> <h5>json字段说明</h5> <table> <thead> <tr> <th style="text-align: left;">字段名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">username</td> <td style="text-align: left;">是</td> <td>string</td> <td>游客姓名</td> </tr> <tr> <td style="text-align: left;">companions</td> <td style="text-align: left;">是</td> <td>string</td> <td>随行人数</td> </tr> <tr> <td style="text-align: left;">idCard</td> <td style="text-align: left;">是</td> <td>string</td> <td>游客身份证后四位</td> </tr> <tr> <td style="text-align: left;">book_date</td> <td style="text-align: left;">是</td> <td>string</td> <td>预约日期</td> </tr> <tr> <td style="text-align: left;">booking_rule_slot_id</td> <td style="text-align: left;">是</td> <td>string</td> <td>预约时段id</td> </tr> <tr> <td style="text-align: left;">entourageInfo</td> <td style="text-align: left;">是</td> <td>string</td> <td>随行人员信息</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": 1000, "message": "success", "data": { "id": 38, "createTime": "2024-04-28 17:27:39", "updateTime": "2024-04-28 17:27:39", "username": "aaa", "booking_rule_slot_id": 2, "book_date": "2024-04-28", "companions": 1, "idCard": "1234", "email": "1492871499@qq.com", "status": 1, "userId": "LV6AB7IWRIJZVV", "entourageInfo": "[{\"name\":\"A\"}]" } } </code></pre> <h5>失败返回示例</h5> <pre><code>{ "code": 1001, "message": "isRepeatedInGivenPeriod" } </code></pre> <h5>备注</h5> <p>1.同一个用户14天内只允许成功预约1次,用户存在有效预约单时不可预约,会提示重复预约 2.若没有随行人员,entourageInfo传[] 3.预约成功后会发送预约信息邮件到用户邮箱</p>

页面列表

ITEM_HTML