tourist

undefined


【微信小程序】微信小程序提交预约信息

<h5>简要描述</h5> <ul> <li>微信小程序提交预约信息</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://dev-app-finclip.azurewebsites.net/app/user/booking/applyViaMp</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">字段名</th> <th style="text-align: left;">示例值</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc1JlZnJlc2giOmZhbHNlLCJpZCI6NSwiY3JlYXRlVGltZSI6IjIwMjQtMDQtMTkgMDc6MDk6NTIiLCJ1cGRhdGVUaW1lIjoiMjAyNC0wNC0xOSAwNzowOTo1MiIsImVtYWlsIjoiIiwib3BlbklkIjoib0VNX1g1Y2pSSkdBVk96M3o1MDFTS3R2WFl4WSIsInN0YXR1cyI6MSwidXNlcklkIjoiTFY2QllRV01URFNPSVQiLCJuYW1lIjoiIiwiaWRDYXJkIjoiIiwiaWF0IjoxNzE0Mjg3ODA3LCJleHAiOjE3MTQzNzQyMDd9.3eDgYi5Uts_iQxhJadxY0iS5G0UvBMSjxmrfQclxSvI</td> <td>是</td> <td>string</td> <td>鉴权token</td> </tr> </tbody> </table> <h5>请求参数示例</h5> <pre><code>{ "username": "游客A", "companions": "2", "idCard": "1234", "status": 1, "book_date": "2024-04-29", "booking_rule_slot_id": 1, "entourageInfo": "[{\"name\":\"随行人A\"},{\"name\":\"随行人B\"}]" } </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": 37, "createTime": "2024-04-28 15:30:02", "updateTime": "2024-04-28 15:30:02", "username": "游客A", "booking_rule_slot_id": 1, "book_date": "2024-04-29", "companions": 2, "idCard": "1234", "email": "", "status": 1, "userId": "LV6BYQWMTDSOIT", "entourageInfo": "[{\"name\":\"随行人A\"},{\"name\":\"随行人B\"}]" } } </code></pre> <h5>失败返回示例</h5> <pre><code>{ "code": 1001, "message": "登录失效~" } </code></pre> <h5>备注</h5> <p>1.同一个用户14天内只允许成功预约1次,用户存在有效预约单时不可预约,会提示重复预约 2.若没有随行人员,entourageInfo传[]</p>

页面列表

ITEM_HTML