获取指定二级分类下 各三级分类 资源的聚合
<h5>简要描述</h5>
<ul>
<li>获取指定二级分类下 各三级分类 资源的聚合信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/chronic/resourceClassify/listAndCountByPids</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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;">pClassifyIds</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>二级分类编码 多个 ,分割</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"retcode": "0000",
"errMsg": "操作成功",
"body": [
{
"value": 18,
"text": "疾病须知",
"classifyId": 18,
"classifyName": "疾病须知",
"classifyDesc": null,
"sort": 1,
"state": 1,
"createTime": "2019-01-18 14:37:02",
"moduleName": "1",
"count": 43,
"children": null,
"resourceIds": "113,392,375,407,373,97,405,371,91,403,369,86,401,384,74,399,519,55,510,47,36,185,376,110,175,100,406,372,94,404,370,87,402,368,81,71,381,52,396,194,118,411,44",
"pclassifyId": 7
},
{
"value": 19,
"text": "安全用药",
"classifyId": 19,
"classifyName": "安全用药",
"classifyDesc": null,
"sort": 2,
"state": 1,
"createTime": "2019-01-18 14:39:20",
"moduleName": "1",
"count": 17,
"children": null,
"resourceIds": "409,227,220,216,206,382,380,410,414,408,222,218,389,213,209,520,398",
"pclassifyId": 7
},
{
"value": 20,
"text": "饮食运动",
"classifyId": 20,
"classifyName": "饮食运动",
"classifyDesc": null,
"sort": 3,
"state": 1,
"createTime": "2019-01-18 14:39:47",
"moduleName": "1",
"count": 22,
"children": null,
"resourceIds": "377,176,390,388,386,143,138,200,132,195,395,192,141,202,383,133,197,131,413,415,394,190",
"pclassifyId": 7
},
{
"value": 21,
"text": "居家看护",
"classifyId": 21,
"classifyName": "居家看护",
"classifyDesc": null,
"sort": 4,
"state": 1,
"createTime": "2019-01-18 14:40:20",
"moduleName": "1",
"count": 30,
"children": null,
"resourceIds": "105,172,166,210,367,298,397,124,412,291,296,378,116,232,293,393,391,374,169,146,387,385,400,299,292,512,297,379,290,295",
"pclassifyId": 7
}
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>