获取组织根节点接口
<h5>简要描述</h5>
<ul>
<li>获取组织根节点接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8080/org/getRootOrgData</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>请求Query参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">partnerId</td>
<td style="text-align: left;">是</td>
<td>int</td>
<td>企业id</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": "0",
"msg": "成功",
"data": [
{
"id": 6078,
"partnerId": 192,
"pid": null,
"seq": 6078,
"code": "uat-dld",
"name": "uat-dld前台企业测试",
"spell": "|uat-dldqtqycs|",
"fullname": "uat-dld前台企业测试",
"descr": null,
"orgGrade": "1.0",
"type": null,
"path": "6078",
"editUser": null,
"editUserName": null,
"editDate": 1662432347000,
"validFrom": 1634838956000,
"validTo": 3528294956000,
"hasChild": 1,
"costCenter": "0",
"status": 0,
"isCompany": 0,
"activity": null,
"parentCode": null,
"isCost": null,
"isOrg": null,
"isSameAccount": 1,
"corpId": null,
"corpName": null,
"costCenterId": null,
"orgIdForCostCenter": null,
"costCenterCode": null,
"pathName": null,
"orgsDtos": null,
"orgCostCenterDtos": null,
"orgCostcenterDtoPageInfos": null,
"company": true
}
],
"success": true
}
</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;">code</td>
<td style="text-align: left;">string</td>
<td>0:成功;-1:未知异常</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p>1</p>