APP

API接口文档


试题-根据学段、年级、科目查询章节

<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>{ &amp;quot;MSG&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;STATE&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;OBJECT&amp;quot;: [ { &amp;quot;questionCount&amp;quot;: 30, &amp;quot;PARENTNAME&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;LEVEL&amp;quot;: 1, &amp;quot;NAME&amp;quot;: &amp;quot;第1章 有理数&amp;quot;, &amp;quot;CHILDREN&amp;quot;: [ { &amp;quot;questionCount&amp;quot;: 30, &amp;quot;PARENTNAME&amp;quot;: &amp;quot;第1章 有理数&amp;quot;, &amp;quot;LEVEL&amp;quot;: 2, &amp;quot;NAME&amp;quot;: &amp;quot;1.1 正数和负数&amp;quot; }, { &amp;quot;questionCount&amp;quot;: 30, &amp;quot;PARENTNAME&amp;quot;: &amp;quot;第1章 有理数&amp;quot;, &amp;quot;LEVEL&amp;quot;: 2, &amp;quot;NAME&amp;quot;: &amp;quot;1.2 有理数&amp;quot;, &amp;quot;CHILDREN&amp;quot;: [ { &amp;quot;questionCount&amp;quot;: 30, &amp;quot;PARENTNAME&amp;quot;: &amp;quot;1.2 有理数&amp;quot;, &amp;quot;LEVEL&amp;quot;: 3, &amp;quot;NAME&amp;quot;: &amp;quot;1.2.1 有理数&amp;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>

页面列表

ITEM_HTML