代理商下级列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>代理商下级列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>admin/swap/reward/get/memberUpper?pageNo=1&amp;pageSize=1&amp;upperType=2&amp;upperId=804402</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;">upperType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>直属类型 0-不限制(默认),1-仅直属,2-非直属。</td>
</tr>
<tr>
<td style="text-align: left;">upperId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Long</td>
<td>上级id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;data&quot;: {
&quot;content&quot;: [
{
&quot;id&quot;: 5311,
&quot;memberId&quot;: 804906,
&quot;firstMemberId&quot;: 804906,
&quot;rate&quot;: 35,
&quot;followRate&quot;: 0,
&quot;dividendRate&quot;: 0,
&quot;wcRate&quot;: null,
&quot;upper&quot;: &quot;804402&quot;,
&quot;allUppers&quot;: &quot;800001,801466,801610,803769,804402&quot;,
&quot;createTime&quot;: &quot;2023-12-13 15:57:34&quot;,
&quot;totalBalance&quot;: 102099.55265381,
&quot;totalRecharge&quot;: 99999,
&quot;totalWithdraw&quot;: 0,
&quot;transferInBalance&quot;: 0,
&quot;transferOutBalance&quot;: 0
}
],
&quot;last&quot;: false,
&quot;totalElements&quot;: 15,
&quot;totalPages&quot;: 15,
&quot;number&quot;: 0,
&quot;size&quot;: 1,
&quot;sort&quot;: [
{
&quot;direction&quot;: &quot;DESC&quot;,
&quot;property&quot;: &quot;id&quot;,
&quot;ignoreCase&quot;: false,
&quot;nullHandling&quot;: &quot;NATIVE&quot;,
&quot;ascending&quot;: false,
&quot;descending&quot;: true
}
],
&quot;first&quot;: true,
&quot;numberOfElements&quot;: 1
},
&quot;code&quot;: 0,
&quot;message&quot;: &quot;SUCCESS&quot;,
&quot;totalPage&quot;: null,
&quot;totalElement&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;">memberId</td>
<td style="text-align: left;">Long</td>
<td>会员id</td>
</tr>
<tr>
<td style="text-align: left;">upper</td>
<td style="text-align: left;">String</td>
<td>上级id(邀请者Id)</td>
</tr>
<tr>
<td style="text-align: left;">totalBalance</td>
<td style="text-align: left;">BigDecimal</td>
<td>账户总余额</td>
</tr>
<tr>
<td style="text-align: left;">totalRecharge</td>
<td style="text-align: left;">BigDecimal</td>
<td>总充值</td>
</tr>
<tr>
<td style="text-align: left;">totalWithdraw</td>
<td style="text-align: left;">BigDecimal</td>
<td>总提现</td>
</tr>
<tr>
<td style="text-align: left;">transferInBalance</td>
<td style="text-align: left;">BigDecimal</td>
<td>总转入</td>
</tr>
<tr>
<td style="text-align: left;">transferOutBalance</td>
<td style="text-align: left;">BigDecimal</td>
<td>总转出</td>
</tr>
<tr>
<td style="text-align: left;">rate</td>
<td style="text-align: left;">int</td>
<td>永续合约返佣比例</td>
</tr>
<tr>
<td style="text-align: left;">followRate</td>
<td style="text-align: left;">int</td>
<td>跟单返佣比例</td>
</tr>
<tr>
<td style="text-align: left;">optionOrderRate</td>
<td style="text-align: left;">int</td>
<td>期权合约返佣比例</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>