获取可进行风险登记的项目(包含分包)
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取可进行风险登记的项目(包含分包) 树结构</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/investment/risk/getProjectTree</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>返回示例</h5>
<pre><code>{
&quot;msg&quot;: &quot;Success!&quot;,
&quot;code&quot;: 200,
&quot;obj&quot;: {
&quot;id&quot;: &quot;0&quot;,
&quot;text&quot;: &quot;root&quot;,
&quot;hidden&quot;: false,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;2cd55a6186e7484ab3468212def65dc2&quot;,
&quot;key&quot;: &quot;2cd55a6186e7484ab3468212def65dc2&quot;,
&quot;title&quot;: &quot;雪1107-1&quot;,
&quot;value&quot;: &quot;2cd55a6186e7484ab3468212def65dc2&quot;,
&quot;text&quot;: &quot;雪1107-1&quot;,
&quot;hidden&quot;: false,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;112&quot;,
&quot;key&quot;: &quot;112&quot;,
&quot;title&quot;: &quot;测试包二&quot;,
&quot;value&quot;: &quot;112&quot;,
&quot;text&quot;: &quot;测试包二&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;2cd55a6186e7484ab3468212def65dc2&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;测试包二&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;111&quot;,
&quot;key&quot;: &quot;111&quot;,
&quot;title&quot;: &quot;测试包一&quot;,
&quot;value&quot;: &quot;111&quot;,
&quot;text&quot;: &quot;测试包一&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;2cd55a6186e7484ab3468212def65dc2&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;测试包一&quot;,
&quot;selectable&quot;: true
}
],
&quot;parentId&quot;: &quot;0&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: true,
&quot;label&quot;: &quot;雪1107-1&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;ea4fa1a674ba4e989e8e3eb7ec938ff0&quot;,
&quot;key&quot;: &quot;ea4fa1a674ba4e989e8e3eb7ec938ff0&quot;,
&quot;title&quot;: &quot;雪1107-2&quot;,
&quot;value&quot;: &quot;ea4fa1a674ba4e989e8e3eb7ec938ff0&quot;,
&quot;text&quot;: &quot;雪1107-2&quot;,
&quot;hidden&quot;: false,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;115&quot;,
&quot;key&quot;: &quot;115&quot;,
&quot;title&quot;: &quot;bao1&quot;,
&quot;value&quot;: &quot;115&quot;,
&quot;text&quot;: &quot;bao1&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;ea4fa1a674ba4e989e8e3eb7ec938ff0&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;bao1&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;116&quot;,
&quot;key&quot;: &quot;116&quot;,
&quot;title&quot;: &quot;bao2&quot;,
&quot;value&quot;: &quot;116&quot;,
&quot;text&quot;: &quot;bao2&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;ea4fa1a674ba4e989e8e3eb7ec938ff0&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;bao2&quot;,
&quot;selectable&quot;: true
}
],
&quot;parentId&quot;: &quot;0&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: true,
&quot;label&quot;: &quot;雪1107-2&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;e0b59cc3a3d7475b963e6db55417ad9c&quot;,
&quot;key&quot;: &quot;e0b59cc3a3d7475b963e6db55417ad9c&quot;,
&quot;title&quot;: &quot;雪1108-1&quot;,
&quot;value&quot;: &quot;e0b59cc3a3d7475b963e6db55417ad9c&quot;,
&quot;text&quot;: &quot;雪1108-1&quot;,
&quot;hidden&quot;: false,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;117&quot;,
&quot;key&quot;: &quot;117&quot;,
&quot;title&quot;: &quot;bao1111&quot;,
&quot;value&quot;: &quot;117&quot;,
&quot;text&quot;: &quot;bao1111&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;e0b59cc3a3d7475b963e6db55417ad9c&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;bao1111&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;118&quot;,
&quot;key&quot;: &quot;118&quot;,
&quot;title&quot;: &quot;bao222&quot;,
&quot;value&quot;: &quot;118&quot;,
&quot;text&quot;: &quot;bao222&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;e0b59cc3a3d7475b963e6db55417ad9c&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;bao222&quot;,
&quot;selectable&quot;: true
}
],
&quot;parentId&quot;: &quot;0&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: true,
&quot;label&quot;: &quot;雪1108-1&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;4c09b19c98784c8cafe1ccf7ca2eed30&quot;,
&quot;key&quot;: &quot;4c09b19c98784c8cafe1ccf7ca2eed30&quot;,
&quot;title&quot;: &quot;雪1108-0&quot;,
&quot;value&quot;: &quot;4c09b19c98784c8cafe1ccf7ca2eed30&quot;,
&quot;text&quot;: &quot;雪1108-0&quot;,
&quot;hidden&quot;: false,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;113&quot;,
&quot;key&quot;: &quot;113&quot;,
&quot;title&quot;: &quot;报以&quot;,
&quot;value&quot;: &quot;113&quot;,
&quot;text&quot;: &quot;报以&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;4c09b19c98784c8cafe1ccf7ca2eed30&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;报以&quot;,
&quot;selectable&quot;: true
},
{
&quot;id&quot;: &quot;114&quot;,
&quot;key&quot;: &quot;114&quot;,
&quot;title&quot;: &quot;包二&quot;,
&quot;value&quot;: &quot;114&quot;,
&quot;text&quot;: &quot;包二&quot;,
&quot;hidden&quot;: false,
&quot;parentId&quot;: &quot;4c09b19c98784c8cafe1ccf7ca2eed30&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: false,
&quot;label&quot;: &quot;包二&quot;,
&quot;selectable&quot;: true
}
],
&quot;parentId&quot;: &quot;0&quot;,
&quot;hasParent&quot;: true,
&quot;hasChildren&quot;: true,
&quot;label&quot;: &quot;雪1108-0&quot;,
&quot;selectable&quot;: true
}
],
&quot;parentId&quot;: &quot;&quot;,
&quot;hasParent&quot;: false,
&quot;hasChildren&quot;: true,
&quot;selectable&quot;: true
},
&quot;success&quot;: true
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>