数据统计
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>动态数据统计接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>data/index</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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>返回参考:https://www.showdoc.com.cn/1885082337263229/9695088084738460
{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: {
&quot;data&quot;: { // 动态/文件数据
&quot;data_sum&quot;: 78,
&quot;file_sum&quot;: 117,
&quot;data_today_count&quot;: 0,
&quot;file_today_count&quot;: 0,
&quot;data_yesterday_count&quot;: 3,
&quot;data_week_count&quot;: 3,
&quot;file_week_count&quot;: 5,
&quot;data_lastweek_count&quot;: 26,
&quot;data_month_count&quot;: 34,
&quot;file_month_count&quot;: 54,
&quot;data_lastmonth_count&quot;: 0
},
&quot;data_download&quot;: { // 文件下载数据
&quot;sum&quot;: 143,
&quot;today_count&quot;: 0,
&quot;yesterday_count&quot;: 0,
&quot;week_count&quot;: 0,
&quot;lastweek_count&quot;: 127,
&quot;month_count&quot;: 142,
&quot;lastmonth_count&quot;: 1
}
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>