根据字典编码获取树状字典项
<h5>简介</h5>
<ul>
<li>根据字典编码获取树状字典项</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/tc/sys/dict/tree</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>请求参数</h5>
<table>
<thead>
<tr>
<th>字典类型</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>dictCode</td>
<td>字典代码</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>/tc/sys/dict/tree?dictCode=zdy_di_lei</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;status&quot;: 200,
&quot;message&quot;: &quot;success&quot;,
&quot;data&quot;: [
{
&quot;createTime&quot;: &quot;1691708027888&quot;, // 创建时间
&quot;description&quot;: &quot;zdy_field&quot;, // 描述
&quot;dictId&quot;: &quot;23&quot;, // 字典id
&quot;id&quot;: &quot;308&quot;, // 字典项id
&quot;itemText&quot;: &quot;有林地&quot;, // 字典项名称
&quot;itemValue&quot;: &quot;0111,0113&quot;, // 字典项目值
&quot;parentId&quot;: &quot;-1&quot;, // 父节点id
&quot;sortOrder&quot;: 1 // 排序
}
],
&quot;decryptFlag&quot;: false
}</code></pre>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>