课/诊断分类列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>三段式课/智能诊断 分类列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>system/ct_cate_list</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>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>条数</td>
</tr>
<tr>
<td style="text-align: left;">cate_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>一级分类id</td>
</tr>
<tr>
<td style="text-align: left;">content</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>关键字搜索</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>状态:0=下架,1=上架</td>
</tr>
</tbody>
</table>
<p>默认为一级分类列表
当传参cate_id后输出的内容为二级分类列表,要在列表中展示4个学习阶段(点击可跳转至对应的详情)</p>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: {
&quot;count&quot;: 8,
&quot;page&quot;: 1,
&quot;pageSize&quot;: 15,
&quot;list&quot;: [
{
&quot;id&quot;: 2,
&quot;name&quot;: &quot;高考培优&quot;,
&quot;title&quot;: &quot;高考培优整分类标题&quot;,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: 0, // 课/套数;在三段式课处展示
&quot;topic_cover_count&quot;: 0 // 题/套数;在智能诊断处展示
},
{
&quot;id&quot;: 3,
&quot;name&quot;: &quot;强基计划&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&quot;: null
},
{
&quot;id&quot;: 4,
&quot;name&quot;: &quot;数学竞赛&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&quot;: null
},
{
&quot;id&quot;: 5,
&quot;name&quot;: &quot;物理竞赛&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&quot;: null
},
{
&quot;id&quot;: 6,
&quot;name&quot;: &quot;化学竞赛&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&quot;: null
},
{
&quot;id&quot;: 7,
&quot;name&quot;: &quot;生物竞赛&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&quot;: null
},
{
&quot;id&quot;: 8,
&quot;name&quot;: &quot;贯通培养&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&quot;: null
},
{
&quot;id&quot;: 81,
&quot;name&quot;: &quot;信息竞赛&quot;,
&quot;title&quot;: null,
&quot;status&quot;: 1,
&quot;course_cover_count&quot;: null,
&quot;topic_cover_count&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>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>