查看当前的关联关系(子用户)
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查看当前的关联关系(子用户)</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://127.0.0.1:9999/api/user/private/v1/getSon</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;id&quot;: 257,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;仲晓光&quot;,
&quot;phone&quot;: &quot;18522833366&quot;,
&quot;idCard&quot;: &quot;370103198301074519&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 258,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;廖骁飞&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;430419197211140016&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 259,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;朱巡&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;310229198612021850&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 260,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;张建炎&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;31010119611213003X&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 261,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;李杰成&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;532901198604080919&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 263,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;王丽萍&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;370602196808082923&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 265,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;李清&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;32032319850116206X&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 266,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;张晓梦&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;230103196906204849&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
},
{
&quot;id&quot;: 267,
&quot;fatherUserId&quot;: 207,
&quot;name&quot;: &quot;沈开萍&quot;,
&quot;phone&quot;: &quot;18522833367&quot;,
&quot;idCard&quot;: &quot;34112219680710002X&quot;,
&quot;sex&quot;: &quot;1&quot;,
&quot;height&quot;: 180.0,
&quot;weight&quot;: 59.0
}
]
}</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;">msg</td>
<td style="text-align: left;">string</td>
<td>操作提示信息</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>状态码</td>
</tr>
<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;">fatherUserId</td>
<td style="text-align: left;">int</td>
<td>父用户id 此处可以忽略</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>姓名</td>
</tr>
<tr>
<td style="text-align: left;">phone</td>
<td style="text-align: left;">String</td>
<td>手机号</td>
</tr>
<tr>
<td style="text-align: left;">idCard</td>
<td style="text-align: left;">String</td>
<td>身份证</td>
</tr>
<tr>
<td style="text-align: left;">sex</td>
<td style="text-align: left;">String</td>
<td>性别</td>
</tr>
<tr>
<td style="text-align: left;">height</td>
<td style="text-align: left;">double</td>
<td>身高</td>
</tr>
<tr>
<td style="text-align: left;">weight</td>
<td style="text-align: left;">double</td>
<td>体重</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>