课/诊断分类详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>三段式课/智能诊断分类详情接口
三段式课、智能诊断新增和编辑信息时,查找目录信息,也可用使用该接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>system/ct_cate_info</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;">cate_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>一级分类id</td>
</tr>
<tr>
<td style="text-align: left;">two_cate_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>二级分类id</td>
</tr>
<tr>
<td style="text-align: left;">way</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>学习阶段:1=预科,2=升维,3=同步,4=备考</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1=三段式课,2=智能诊断</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;type&quot;: 0, // 级别;0代表标题;为0时不用管count的数量
&quot;name&quot;: &quot;生物学界与生物学-预科学习&quot;, // 名称
&quot;count&quot;: 10
},
{
&quot;id&quot;: 2, // 章节目录的id;三段式课程可以把这个id理解成课程id、智能诊断室可以把这个id理解为合集id
&quot;type&quot;: 1,
&quot;name&quot;: &quot;第一章 细胞&quot;,
&quot;count&quot;: 0 // 章节下数量,大于0代表存在课/诊断数据
},
{
&quot;id&quot;: 3,
&quot;type&quot;: 1,
&quot;name&quot;: &quot;第二章 遗传和变异&quot;,
&quot;count&quot;: 0,
&quot;two_list&quot;: [
{
&quot;id&quot;: 6,
&quot;type&quot;: 2,
&quot;name&quot;: &quot;2.1 孟德尔遗传定律以及它的基础&quot;,
&quot;pid&quot;: 3,
&quot;count&quot;: 0,
&quot;three_list&quot;: [
{
&quot;id&quot;: 16,
&quot;type&quot;: 3,
&quot;name&quot;: &quot;2.1.1 同源重组的原理&quot;,
&quot;pid&quot;: 6,
&quot;count&quot;: 2
}
]
},
{
&quot;id&quot;: 7,
&quot;type&quot;: 2,
&quot;name&quot;: &quot;2.2 染色体学说与性连锁&quot;,
&quot;pid&quot;: 3,
&quot;count&quot;: 1
},
{
&quot;id&quot;: 8,
&quot;type&quot;: 2,
&quot;name&quot;: &quot;2.3 数量性状的遗传&quot;,
&quot;pid&quot;: 3,
&quot;count&quot;: 0,
&quot;three_list&quot;: [
{
&quot;id&quot;: 13,
&quot;type&quot;: 3,
&quot;name&quot;: &quot;2.3.1 同源重组的原理&quot;,
&quot;pid&quot;: 8,
&quot;count&quot;: 0
},
{
&quot;id&quot;: 14,
&quot;type&quot;: 3,
&quot;name&quot;: &quot;2.3.2 典型连锁分析&quot;,
&quot;pid&quot;: 8,
&quot;count&quot;: 3
}
]
},
{
&quot;id&quot;: 9,
&quot;type&quot;: 2,
&quot;name&quot;: &quot;2.4 基因连锁与交换&quot;,
&quot;pid&quot;: 3,
&quot;count&quot;: 0,
&quot;three_list&quot;: [
{
&quot;id&quot;: 10,
&quot;type&quot;: 3,
&quot;name&quot;: &quot;2.4.1 同源重组的原理&quot;,
&quot;pid&quot;: 9,
&quot;count&quot;: 2
},
{
&quot;id&quot;: 11,
&quot;type&quot;: 3,
&quot;name&quot;: &quot;2.4.2 典型连锁分析&quot;,
&quot;pid&quot;: 9,
&quot;count&quot;: 1
},
{
&quot;id&quot;: 12,
&quot;type&quot;: 3,
&quot;name&quot;: &quot;2.4.2 典型连锁分析2&quot;,
&quot;pid&quot;: 9,
&quot;count&quot;: 1
}
]
}
]
},
{
&quot;id&quot;: 4,
&quot;type&quot;: 1,
&quot;name&quot;: &quot;第三章 生物演化&quot;,
&quot;count&quot;: 0
},
{
&quot;id&quot;: 5,
&quot;type&quot;: 1,
&quot;name&quot;: &quot;第四章 生物演化&quot;,
&quot;count&quot;: 0
}
]
}</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>