获取树形党组织(全量党组织)
<p>欢迎使用July-Doc!</p>
<p><strong>控制器描述:</strong></p>
<ul>
<li>党组织信息 前端控制器</li>
</ul>
<p><strong>作者:</strong></p>
<ul>
<li>zengxueqi</li>
</ul>
<p><strong>创建时间:</strong></p>
<ul>
<li>2024/8/20</li>
</ul>
<p><strong>简要描述:</strong></p>
<ul>
<li>获取树形党组织(全量党组织)</li>
</ul>
<p><strong>请求URL:</strong>
<code>http://{}/party/partyOrganization/getTree</code></p>
<p><strong>请求方式:</strong>
<code>GET</code></p>
<p><strong>Content-Type:</strong>
<code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>参数示例:</strong></p>
<pre><code>http://{
}/party/partyOrganization/getTree</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>int32</td>
<td>涓氬姟閿欒鐮?<br>-- GETTER --<br> 鑾峰彇缁撴灉缂栫爜</td>
<td>-</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>鎻忚堪<br>-- GETTER --<br> 鑾峰彇娑堟伅鎻愮ず</td>
<td>-</td>
</tr>
<tr>
<td>content</td>
<td>object</td>
<td>缁撴灉闆?<br>-- GETTER --<br> 鑾峰彇涓氬姟鏁版嵁</td>
<td>-</td>
</tr>
<tr>
<td>└─id</td>
<td>string</td>
<td>主键ID</td>
<td>-</td>
</tr>
<tr>
<td>└─parentId</td>
<td>string</td>
<td>父节点ID</td>
<td>-</td>
</tr>
<tr>
<td>└─children</td>
<td>array</td>
<td>子孙节点</td>
<td>-</td>
</tr>
<tr>
<td>└─hasChildren</td>
<td>boolean</td>
<td>是否有子孙节点</td>
<td>-</td>
</tr>
<tr>
<td>└─id</td>
<td>string</td>
<td>党组织id</td>
<td>-</td>
</tr>
<tr>
<td>└─name</td>
<td>string</td>
<td>名称</td>
<td>-</td>
</tr>
<tr>
<td>└─shortName</td>
<td>string</td>
<td>简称</td>
<td>-</td>
</tr>
<tr>
<td>└─parentId</td>
<td>string</td>
<td>父党组织id</td>
<td>-</td>
</tr>
<tr>
<td>└─type</td>
<td>int32</td>
<td>类型(611党委,621党总支,631党支部)</td>
<td>-</td>
</tr>
<tr>
<td>└─hasChildren</td>
<td>boolean</td>
<td>是否有子类</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;code&quot;:0,
&quot;msg&quot;:处理成功,
&quot;content&quot;:[
{
&quot;id&quot;:&quot;184&quot;,
&quot;parentId&quot;:&quot;184&quot;,
&quot;children&quot;:[
{
}
],
&quot;hasChildren&quot;:true,
&quot;id&quot;:&quot;184&quot;,
&quot;name&quot;:&quot;烨华.赖&quot;,
&quot;shortName&quot;:&quot;烨华.赖&quot;,
&quot;parentId&quot;:&quot;184&quot;,
&quot;type&quot;:634,
&quot;hasChildren&quot;:true
}
]
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>暂无错误代码描述信息</li>
</ul>