获取员工列表
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/employee</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET <code>AUTH</code></li>
</ul>
<p><strong>参数:</strong></p>
<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;">ban_switch</td>
<td style="text-align: left;">in:0,1</td>
<td style="text-align: left;">int</td>
<td>封禁:0=否,1=是</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;jobs&quot;: {//员工关联工作信息
&quot;employee_group_uid&quot;: [],//部门信息
&quot;employee_position_uid&quot;: [//职位信息
{
&quot;type_info&quot;: {
&quot;id&quot;: 2,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;employee_position_uid&quot;: 9241029452120001,
&quot;title&quot;: &quot;P&quot;,
&quot;level_depth&quot;: 1,
&quot;parent_uid&quot;: 0,
&quot;create_datetime&quot;: &quot;2024-10-29 12:33:32&quot;,
&quot;update_datetime&quot;: &quot;2024-10-29 12:33:32&quot;
},
&quot;id&quot;: 10,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;employee_uid&quot;: 3241029461230001,
&quot;type_uid&quot;: 9241029452120001,
&quot;type&quot;: &quot;b_merchant_employee_position&quot;,
&quot;create_datetime&quot;: &quot;2024-10-29 12:48:43&quot;,
&quot;update_datetime&quot;: &quot;2024-10-29 12:48:43&quot;
}
],
&quot;employee_shift_uid&quot;: [//考勤信息
{
&quot;type_info&quot;: {
&quot;id&quot;: 9,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;employee_shift_uid&quot;: 7241024499510001,
&quot;title&quot;: &quot;白班&quot;,
&quot;begin_work_time&quot;: &quot;09:00&quot;,
&quot;finish_work_time&quot;: &quot;17:00&quot;,
&quot;rest_minutes&quot;: 15,
&quot;create_datetime&quot;: &quot;2024-10-24 13:52:31&quot;,
&quot;update_datetime&quot;: &quot;2024-10-24 13:58:16&quot;
},
&quot;id&quot;: 11,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;employee_uid&quot;: 3241029461230001,
&quot;type_uid&quot;: 7241024499510001,
&quot;type&quot;: &quot;b_merchant_employee_shift&quot;,
&quot;create_datetime&quot;: &quot;2024-10-29 12:48:43&quot;,
&quot;update_datetime&quot;: &quot;2024-10-29 12:48:43&quot;
},
{
&quot;type_info&quot;: {
&quot;id&quot;: 10,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;employee_shift_uid&quot;: 7241024501930001,
&quot;title&quot;: &quot;晚班&quot;,
&quot;begin_work_time&quot;: &quot;17:00&quot;,
&quot;finish_work_time&quot;: &quot;23:00&quot;,
&quot;rest_minutes&quot;: 15,
&quot;create_datetime&quot;: &quot;2024-10-24 13:56:33&quot;,
&quot;update_datetime&quot;: &quot;2024-10-24 13:58:19&quot;
},
&quot;id&quot;: 12,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;employee_uid&quot;: 3241029461230001,
&quot;type_uid&quot;: 7241024501930001,
&quot;type&quot;: &quot;b_merchant_employee_shift&quot;,
&quot;create_datetime&quot;: &quot;2024-10-29 12:48:43&quot;,
&quot;update_datetime&quot;: &quot;2024-10-29 12:48:43&quot;
}
]
},
&quot;id&quot;: 9,
&quot;employee_uid&quot;: 3241029461230001,//员工唯一值
&quot;job_number&quot;: &quot;IXX&quot;,//工号
&quot;passport&quot;: &quot;&quot;,//账号
&quot;ban_switch&quot;: 0,//封禁:0=否,1=是
&quot;create_datetime&quot;: &quot;2024-10-29 12:48:43&quot;
}
],
&quot;code&quot;: 0
}</code></pre>