数据总览
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>学习机分类数据总览</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>cate/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> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: {
&quot;one_cate&quot;: { // 一级分类信息
&quot;count&quot;: 8, // 总数
&quot;buy_count&quot;: 0, // 总购买数
&quot;buy_join&quot;: 0, // 总加购数
&quot;buy_view&quot;: 4 // 总浏览数
},
&quot;two_cate&quot;: { 二级分类信息
&quot;count&quot;: 69,
&quot;buy_count&quot;: 0,
&quot;buy_join&quot;: 0,
&quot;buy_view&quot;: 2
}
}
}</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>