【用户端】核验二维码
<h5>简要描述</h5>
<ul>
<li>核验二维码</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://dev-app-finclip.azurewebsites.net/app/user/login/verifyQrcode</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">header</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Authorization</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>鉴权token</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
"id": "38",
"staffId": 2
}
</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>
<tr>
<td style="text-align: left;">staffId</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": 38,
"createTime": "2024-04-28 17:27:39",
"updateTime": "2024-04-28 17:27:39",
"username": "aaa",
"companions": 1,
"email": "1492871499@qq.com",
"status": 1,
"userId": "LV6AB7IWRIJZVV",
"entourageInfo": "[{\"name\":\"A\"}]",
"booking_rule_slot_id": 2,
"book_date": "2024-04-28 00:00:00",
"idCard": "1234",
"start_time_slot": 29,
"end_time_slot": 40,
"verifyTimes": 1
}
}
</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
"code": 1001,
"message": "预约记录不存在",
}
</code></pre>
<h5>备注</h5>
<p>每次核验都会使核验次数+1</p>