【通用】取消预约
<h5>简要描述</h5>
<ul>
<li>取消预约</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://dev-app-finclip.azurewebsites.net/app/user/login/cancelAppointment</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;">yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc1JlZnJlc2giOmZhbHNlLCJpZCI6NSwiY3JlYXRlVGltZSI6IjIwMjQtMDQtMTkgMDc6MDk6NTIiLCJ1cGRhdGVUaW1lIjoiMjAyNC0wNC0xOSAwNzowOTo1MiIsImVtYWlsIjoiIiwib3BlbklkIjoib0VNX1g1Y2pSSkdBVk96M3o1MDFTS3R2WFl4WSIsInN0YXR1cyI6MSwidXNlcklkIjoiTFY2QllRV01URFNPSVQiLCJuYW1lIjoiIiwiaWRDYXJkIjoiIiwiaWF0IjoxNzE0Mjg3ODA3LCJleHAiOjE3MTQzNzQyMDd9.3eDgYi5Uts_iQxhJadxY0iS5G0UvBMSjxmrfQclxSvI</td>
<td>是</td>
<td>string</td>
<td>鉴权token</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
"id": "37"
}
</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;">id</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>预约记录id</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 16:01:23",
"username": "游客A",
"booking_rule_slot_id": 1,
"book_date": "2024-04-29",
"companions": 2,
"idCard": "1234",
"email": "",
"status": 3,
"userId": "LV6BYQWMTDSOIT",
"entourageInfo": "[{\"name\":\"随行人A\"},{\"name\":\"随行人B\"}]"
}
}
</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
"code": 1001,
"message": "登录失效~"
}
</code></pre>
<h5>备注</h5>
<p>无</p>