试题-根据学段、年级、科目查询章节
<p><strong>简要描述:</strong> </p>
<ul>
<li>试题-根据学段、年级、科目查询章节</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://47.93.115.228:9002/question/getChapters</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">phaseId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>学段Id</td>
</tr>
<tr>
<td style="text-align: left;">gradeId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>年级Id</td>
</tr>
<tr>
<td style="text-align: left;">subjectId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>科目Id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;MSG&quot;: &quot;&quot;,
&quot;STATE&quot;: &quot;0&quot;,
&quot;OBJECT&quot;: [
{
&quot;questionCount&quot;: 30,
&quot;PARENTNAME&quot;: &quot;0&quot;,
&quot;LEVEL&quot;: 1,
&quot;NAME&quot;: &quot;第1章 有理数&quot;,
&quot;CHILDREN&quot;: [
{
&quot;questionCount&quot;: 30,
&quot;PARENTNAME&quot;: &quot;第1章 有理数&quot;,
&quot;LEVEL&quot;: 2,
&quot;NAME&quot;: &quot;1.1 正数和负数&quot;
},
{
&quot;questionCount&quot;: 30,
&quot;PARENTNAME&quot;: &quot;第1章 有理数&quot;,
&quot;LEVEL&quot;: 2,
&quot;NAME&quot;: &quot;1.2 有理数&quot;,
&quot;CHILDREN&quot;: [
{
&quot;questionCount&quot;: 30,
&quot;PARENTNAME&quot;: &quot;1.2 有理数&quot;,
&quot;LEVEL&quot;: 3,
&quot;NAME&quot;: &quot;1.2.1 有理数&quot;
}
]
}
]
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">questionCount</td>
<td style="text-align: left;">int</td>
<td>题量</td>
</tr>
<tr>
<td style="text-align: left;">LEVEL</td>
<td style="text-align: left;">int</td>
<td>章节级别</td>
</tr>
<tr>
<td style="text-align: left;">NAME</td>
<td style="text-align: left;">String</td>
<td>章节名称</td>
</tr>
<tr>
<td style="text-align: left;">PARENTNAME</td>
<td style="text-align: left;">String</td>
<td>父级章节名称</td>
</tr>
<tr>
<td style="text-align: left;">CHILDREN</td>
<td style="text-align: left;">list</td>
<td>子级章节</td>
</tr>
</tbody>
</table>