获取部门
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/department</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;">department_uid</td>
<td style="text-align: left;">>=0</td>
<td style="text-align: left;">int</td>
<td>部门uid</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 9,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;department_uid&quot;: 6241021580350001,//部门uid
&quot;title&quot;: &quot;II&quot;,//名称
&quot;enable_switch&quot;: 1,//启用状态:0=否 1=是
&quot;create_datetime&quot;: &quot;2024-10-21 16:07:15&quot;,
&quot;update_datetime&quot;: &quot;2024-10-21 16:07:15&quot;,
&quot;level_depth&quot;: 2,
&quot;parent_uid&quot;: 6241021580230001//父uid
},
{
&quot;id&quot;: 8,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;department_uid&quot;: 6241021580230001,
&quot;title&quot;: &quot;I&quot;,
&quot;enable_switch&quot;: 1,
&quot;create_datetime&quot;: &quot;2024-10-21 16:07:03&quot;,
&quot;update_datetime&quot;: &quot;2024-10-21 16:07:03&quot;,
&quot;level_depth&quot;: 1,
&quot;parent_uid&quot;: 0
}
],
&quot;code&quot;: 0
}
</code></pre>