查看关系
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查看关系</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/partner/v1/path</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">string</td>
<td>下级列表中的 id</td>
</tr>
</tbody>
</table>
<pre><code>{
&quot;id&quot;: &quot;6&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;created_at&quot;: &quot;2024-01-16 08:42:56&quot;,
&quot;updated_at&quot;: &quot;2024-01-24 03:36:12&quot;,
&quot;deleted_at&quot;: null,
&quot;nickname&quot;: &quot;nickname1&quot;, // 昵称
&quot;tel&quot;: &quot;tel1&quot;, // 手机
&quot;account&quot;: &quot;account1&quot;, // 账户
&quot;password&quot;: &quot;1jMBnBkI+hBzupWPjNrNLc1SfAKSj66VTCswVVt1bloE&quot;,
&quot;state&quot;: 1,
&quot;apply_state&quot;: 1,
&quot;level&quot;: 0, // lv0 最顶级
&quot;parent_id&quot;: 0, // 0 表示没有上级,如果和自己 id 相同就是本人
&quot;state_title&quot;: &quot;正常&quot;,
&quot;apply_state_title&quot;: &quot;通过&quot;,
&quot;parent_nickname&quot;: &quot;&quot;, // 上级昵称
&quot;parent_tel&quot;: &quot;&quot;, // 上级手机
&quot;partner_config&quot;: {
&quot;id&quot;: 7,
&quot;created_at&quot;: &quot;2024-02-26 21:46:19&quot;,
&quot;updated_at&quot;: &quot;2024-03-04 00:38:14&quot;,
&quot;deleted_at&quot;: null,
&quot;partner_id&quot;: 7,
&quot;rate_phone&quot;: &quot;11.00&quot;, // 话费汇率
&quot;rate_fuel&quot;: &quot;12.00&quot;, // 油费汇率
&quot;rate_electric&quot;: &quot;10.00&quot;, // 电费汇率
&quot;config_status&quot;: 1,
&quot;config&quot;: &quot;&quot;
}
}
],
&quot;links&quot;: {
&quot;first&quot;: &quot;http:\/\/recharge.local.com\/partner\/v1\/path?page=1&quot;,
&quot;last&quot;: &quot;http:\/\/recharge.local.com\/partner\/v1\/path?page=1&quot;,
&quot;prev&quot;: null,
&quot;next&quot;: null
},
&quot;meta&quot;: {
&quot;current_page&quot;: 1,
&quot;from&quot;: 1,
&quot;last_page&quot;: 1,
&quot;path&quot;: &quot;http:\/\/recharge.local.com\/partner\/v1\/path&quot;,
&quot;per_page&quot;: 15,
&quot;to&quot;: 2,
&quot;total&quot;: 2
},
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;数据获取成功&quot;
}</code></pre>