查询组织树(修改)(已完成)
<h5>简要描述</h5>
<ul>
<li>授权单位查询接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/v1/floworg/selectOrgTree</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;">flag</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>标识 23,表示查询授权单位</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;resultStat&quot;:&quot;SUCCESS&quot;,
&quot;mess&quot;:&quot;&quot;,
&quot;callBack&quot;:&quot;1629709537792&quot;,
&quot;data&quot;:[
{
&quot;asyn&quot;:0,
&quot;disabled&quot;:&quot;true&quot;,
&quot;id&quot;:&quot;100001&quot;,
&quot;isParent&quot;:&quot;false&quot;,
&quot;orderby&quot;:&quot;999999&quot;,
&quot;pid&quot;:&quot;100000&quot;,
&quot;type&quot;:3,
&quot;val&quot;:&quot;总部&quot;,
&quot;deptName&quot;:null,
&quot;orgId&quot;:null,
&quot;orgName&quot;:null,
&quot;nocheck&quot;:null,
&quot;orgLevel&quot;:&quot;01&quot;,
&quot;phone&quot;:null,
&quot;tableType&quot;:null
}
],
&quot;redirectURL&quot;:null
}</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;">id</td>
<td style="text-align: left;">int</td>
<td>部门id</td>
</tr>
<tr>
<td style="text-align: left;">orderby</td>
<td style="text-align: left;">int</td>
<td>排序</td>
</tr>
<tr>
<td style="text-align: left;">orgLevel</td>
<td style="text-align: left;">int</td>
<td>组织级别</td>
</tr>
<tr>
<td style="text-align: left;">pid</td>
<td style="text-align: left;">int</td>
<td>部门id</td>
</tr>
<tr>
<td style="text-align: left;">orgId</td>
<td style="text-align: left;">int</td>
<td>公司id</td>
</tr>
<tr>
<td style="text-align: left;">deptName</td>
<td style="text-align: left;">int</td>
<td>部门名称</td>
</tr>
<tr>
<td style="text-align: left;">orgName</td>
<td style="text-align: left;">int</td>
<td>公司名称</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>如果是省分本部公司 将其type改为公司3 规则:0 1 2 假节点(河北分公司) 3 公司(总 省 地) 4 部门</td>
</tr>
<tr>
<td style="text-align: left;">val</td>
<td style="text-align: left;">int</td>
<td>需要显示的组织名称</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>