获取指定天数余额v2
<h1>doge</h1>
<p>> v1.0.0</p>
<p>Base URLs:</p>
<ul>
<li><a href="<a href="http://127.0.0.1:6109">本地开发">http://127.0.0.1:6109">本地开发</a>: <a href="http://127.0.0.1:6109</a>">http://127.0.0.1:6109</a></a>;</li>
</ul>
<h1>Default</h1>
<h2>GET 获取指定天数余额v2</h2>
<p>GET /swap/wallet-new/statistics-balance-by-day-v2</p>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>位置</th>
<th>类型</th>
<th>必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>days</td>
<td>query</td>
<td>integer</td>
<td>否</td>
<td>统计指定天数 0代表当天 1代表昨天和今天</td>
</tr>
</tbody>
</table>
<p>> 返回示例</p>
<p>> 成功</p>
<pre><code class="language-json">{
&quot;data&quot;: [
{
&quot;date&quot;: &quot;2024-09-28&quot;,
&quot;totalBalance&quot;: 99286.86552415
},
{
&quot;date&quot;: &quot;2024-09-29&quot;,
&quot;totalBalance&quot;: 99414.37552415
}
],
&quot;code&quot;: 0,
&quot;message&quot;: &quot;success&quot;,
&quot;totalPage&quot;: null,
&quot;totalElement&quot;: null
}</code></pre>
<h3>返回结果</h3>
<table>
<thead>
<tr>
<th>状态码</th>
<th>状态码含义</th>
<th>说明</th>
<th>数据模型</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td>
<td>成功</td>
<td>Inline</td>
</tr>
</tbody>
</table>
<h3>返回数据结构</h3>
<p>状态码 <strong>200</strong></p>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>» data</td>
<td>[object]</td>
<td>true</td>
<td>none</td>
<td>data数据</td>
<td>none</td>
</tr>
<tr>
<td>»» date</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td>统计日期</td>
<td>none</td>
</tr>
<tr>
<td>»» totalBalance</td>
<td>number</td>
<td>true</td>
<td>none</td>
<td>统计总余额</td>
<td>none</td>
</tr>
<tr>
<td>» code</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>状态码</td>
<td>正常状态码为0</td>
</tr>
<tr>
<td>» message</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td>错误信息</td>
<td>当提示500时带上错误信息显示</td>
</tr>
</tbody>
</table>