日志
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>日志接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://food.taihuyun.vip/api/foodcash.table/tableLog?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5&table_id=37</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">applet_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>应用程序ID</td>
</tr>
<tr>
<td style="text-align: left;">shop_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>门店ID</td>
</tr>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户身份验证的令牌</td>
</tr>
<tr>
<td style="text-align: left;">table_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>桌台ID</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 1,
"msg": "success",
"data": [
{
"id": 7,
"table_info_id": 3,
"type_name": "创建预定单",
"clerk_id": 3,
"remark": "将散台3转入专4包",
"create_time": "2022-12-21 17:53:02",
"update_time": "2022-12-21 17:53:02",
"clerk": {
"shop_clerk_id": 3,
"shop_id": 1,
"real_name": "amy",
"mobile": "15358052238",
"pwd": "236b45319d773c3b0f48d12ad583da4a",
"status": {
"text": "店长",
"value": 20
},
"user_id": 28,
"applet_id": 1,
"last_login_datetime": "2022-12-28 20:07:50",
"create_time": "2022-05-27 11:55:42",
"update_time": "2022-12-28 20:07:50"
}
},
{
"id": 9,
"table_info_id": 3,
"type_name": "桌台转入",
"clerk_id": 8,
"remark": "阿薩",
"create_time": "2022-12-27 18:38:01",
"update_time": "2022-12-27 18:38:01",
"clerk": {
"shop_clerk_id": 8,
"shop_id": 1,
"real_name": "吴天宇",
"mobile": "17320038823",
"pwd": "625df02823082763d377dc21464e1ddb",
"status": {
"text": "店长",
"value": 20
},
"user_id": 6,
"applet_id": 1,
"last_login_datetime": "2022-12-28 21:12:30",
"create_time": "2022-06-14 18:56:41",
"update_time": "2022-12-28 21:12:30"
}
}
]
}</code></pre>
<h5>返回参数说明</h5>
<ul>
<li>返回状态代码: 200</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type_name</td>
<td style="text-align: left;">string</td>
<td>操作类型</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
<tr>
<td style="text-align: left;">mobile</td>
<td style="text-align: left;">string</td>
<td>手机号</td>
</tr>
<tr>
<td style="text-align: left;">create_time</td>
<td style="text-align: left;">string</td>
<td>操作时间</td>
</tr>
<tr>
<td style="text-align: left;">clerk.real_name</td>
<td style="text-align: left;">string</td>
<td>操作人</td>
</tr>
<tr>
<td style="text-align: left;">clerk.mobile</td>
<td style="text-align: left;">string</td>
<td>操作手机号</td>
</tr>
<tr>
<td style="text-align: left;">clerk.status.value</td>
<td style="text-align: left;">int</td>
<td>操作人身份;10.店员;20.店长</td>
</tr>
<tr>
<td style="text-align: left;">clerk.create_time</td>
<td style="text-align: left;">string</td>
<td>操作人创建时间</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看基本参数中的参数说明</li>
</ul>