dogo

Dgcoin


获取指定天数余额

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取指定天数余额</li> </ul> <h5>请求URL</h5> <ul> <li><code>/swap/wallet-new/statistics-balance-by-day</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET <a href="http://127.0.0.1:6012/swap/wallet-new/statistics-balance-by-day?days=1">http://127.0.0.1:6012/swap/wallet-new/statistics-balance-by-day?days=1</a></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;">days</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>统计指定天数 0代表当天 1代表昨天和今天</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;data&amp;quot;: [ { &amp;quot;date&amp;quot;: &amp;quot;2024-04-21&amp;quot;, &amp;quot;totalBalance&amp;quot;: 30158839.9190993600035000 }, { &amp;quot;date&amp;quot;: &amp;quot;2024-04-22&amp;quot;, &amp;quot;totalBalance&amp;quot;: 30158820.1960002160035000 } ], &amp;quot;code&amp;quot;: 0, &amp;quot;message&amp;quot;: &amp;quot;success&amp;quot;, &amp;quot;totalPage&amp;quot;: null, &amp;quot;totalElement&amp;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;">date</td> <td style="text-align: left;">src</td> <td>统计日期</td> </tr> <tr> <td style="text-align: left;">totalBalance</td> <td style="text-align: left;">double</td> <td>统计总余额</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML