字典查询
<h5>简要描述</h5>
<ul>
<li>字段查询</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.15.34:8072/threedinf/dictionary/{catalogId}</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">catalogId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>类型ID</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code># 查询灾害类型
http://192.168.15.34:8072/threedinf/dictionary/1
# 查询灾害等级
http://192.168.15.34:8072/threedinf/dictionary/20</code></pre>
<h5>返回结果</h5>
<pre><code>{
"status": 200,
"msg": "查询成功",
"data": [
{
"id": 23,
"catalogId": 23,
"catalogPid": 20,
"catalogName": "一般",
"catalogValue": null,
"icon": null,
"iconDesc": null,
"createDate": "2022-04-24 08:16:16",
"createUser": "hp",
"modifyDate": "2022-04-24 08:16:16",
"modifyUser": "hp",
"flag": 1
},
{
"id": 22,
"catalogId": 22,
"catalogPid": 20,
"catalogName": "次要",
"catalogValue": null,
"icon": null,
"iconDesc": null,
"createDate": "2022-04-24 08:16:16",
"createUser": "hp",
"modifyDate": "2022-04-24 08:16:16",
"modifyUser": "hp",
"flag": 1
},
{
"id": 21,
"catalogId": 21,
"catalogPid": 20,
"catalogName": "严重",
"catalogValue": null,
"icon": null,
"iconDesc": null,
"createDate": "2022-04-24 08:16:16",
"createUser": "hp",
"modifyDate": "2022-04-24 08:16:16",
"modifyUser": "hp",
"flag": 1
}
]
}
</code></pre>