康邦-小程序


获取科室列表

<p><strong>请求URI:</strong></p> <ul> <li><code>/hospital/department</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</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;">pid</td> <td style="text-align: left;"></td> <td style="text-align: left;">int</td> <td>父id 0=顶层</td> </tr> <tr> <td style="text-align: left;">hot_switch</td> <td style="text-align: left;"></td> <td style="text-align: left;">int</td> <td>热门 0=否,1=是</td> </tr> </tbody> </table> <p><strong>返回示例:</strong></p> <pre><code>{ &amp;quot;msg&amp;quot;: &amp;quot;请求成功&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;id&amp;quot;: 3660,//科室id &amp;quot;title&amp;quot;: &amp;quot;呼吸科&amp;quot;,//科室名称 &amp;quot;pid&amp;quot;:0, &amp;quot;hot_switch&amp;quot;:1 } ], &amp;quot;code&amp;quot;: 0 }</code></pre>

页面列表

ITEM_HTML