1.29.8 产品-用户资金收益
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户资金收益汇总</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/Usercenter/minersum</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST 或 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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名token</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<p>输出单位都是: USD</p>
<pre><code>{
"code": 0,
"msg": "成功",
"data": {
"miningall": 32930546.995366827,
"miningfree": 14204113.462616084,
"miningpro": 18726433.53275074,
"financial": 0,
"task": 28,
"agent": 393.724844962,
"defiall": 0,
"minersall": 0,
"today_miningall": 0,
"today_miningfree": 0,
"today_miningpro": 0,
"today_financial": 0,
"today_task": 0,
"today_agent": 0,
"today_defiall": 0,
"today_minersall": 0,
"product_defi_total": 0,
"product_miner_total": 0,
"today_estimate_miningfree": 1757.849074784,
"today_estimate_miningpro": 916.31995047936,
"today_estimate_miningall": 2674.1690252633603,
"today_estimate_defiall": 0,
"today_estimate_minersall": 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;">code</td>
<td style="text-align: left;">int</td>
<td>错误码</td>
</tr>
</tbody>
</table>
<p> miningall 矿机挖矿总产出(收益)trade_type = 62, 68
miningfree 我的体验矿机和矿场(体验产品的收益) trade_type = 68,70 //70是免费矿场
miningpro 我的专业矿机(收益) trade_type = 62
financial 我的专业理财股权(收益) trade_type = 64, 66
task 我的任务彩金(收益)trade_type = '16,23', //16 后台活动加款
agent 我的代理佣金(收益)trade_type = 24, 25, 26, 27
defiall 我的理财总收益(含免费) trade_type = 64, 70
minersall 我的股权总收益trade_type = 66</p>
<pre><code>today_* 对应的今日到账的收益数据(收益实际是昨日的,今日派发)。
product_defi_total 投资理财基金总额
product_miner_total 股权投资总额
today_estimate_miningfree 我的今日预估免费矿机收益
today_estimate_miningpro 我的今日预估专业矿机收益
today_estimate_miningall 我的今日预估矿机收益 (含免费)
today_estimate_defiall 我的今日预估理财收益 (含免费)
today_estimate_minersall 我的今日预估股权收益</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>