查询医院科室
<p><strong>简要描述:</strong></p>
<ul>
<li>查询本医院所有科室</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><a href="http://服务器IP:PORT/app/selectById">http://服务器IP:PORT/app/selectById</a></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>请求头:</strong></p>
<ul>
<li>
<p>headers内容为:{"token":"登录成功后请求返回的token"} </p>
<p><strong>请求参数说明</strong></p>
</li>
</ul>
<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;">医院所属id</td>
<td style="text-align: left;">String</td>
<td>id</td>
<td>是</td>
<td>10-50</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "查询成功!",
"code": "200",
"data": [
{
"deptName": "接种室",
"deptId": 1187
},
{
"deptName": "门诊",
"deptId": 1188
},
{
"deptName": "鲁家窑社区服务站",
"deptId": 1189
},
{
"deptName": "护理",
"deptId": 1190
}
]
}</code></pre>
<p><strong>返回参数说明</strong></p>
<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;">科室id</td>
<td style="text-align: left;">String</td>
<td>deptId</td>
</tr>
<tr>
<td style="text-align: left;">科室名称</td>
<td style="text-align: left;">String</td>
<td>deptName</td>
</tr>
</tbody>
</table>
<h2></h2>