微同课后台


分类列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>资料分类列表接口 该列表不提供编辑及状态变更操作;只在操作处展示“详情”,点击跳转至资料列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>study_data/file_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;">int</td> <td>分类id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> {     &amp;quot;code&amp;quot;: 200,     &amp;quot;msg&amp;quot;: &amp;quot;ok!&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;count&amp;quot;: 78,         &amp;quot;page&amp;quot;: 1,         &amp;quot;pageSize&amp;quot;: 5,         &amp;quot;list&amp;quot;: [             {                 &amp;quot;id&amp;quot;: 2,                 &amp;quot;name&amp;quot;: &amp;quot;高考培优&amp;quot;,                 &amp;quot;data_num&amp;quot;: 5 // 资料数             },             {                 &amp;quot;id&amp;quot;: 3,                 &amp;quot;name&amp;quot;: &amp;quot;强基计划&amp;quot;,                 &amp;quot;data_num&amp;quot;: 0             },             {                 &amp;quot;id&amp;quot;: 4,                 &amp;quot;name&amp;quot;: &amp;quot;数学竞赛&amp;quot;,                 &amp;quot;data_num&amp;quot;: 0             },             {                 &amp;quot;id&amp;quot;: 5,                 &amp;quot;name&amp;quot;: &amp;quot;物理竞赛&amp;quot;,                 &amp;quot;data_num&amp;quot;: 0             },             {                 &amp;quot;id&amp;quot;: 6,                 &amp;quot;name&amp;quot;: &amp;quot;化学竞赛&amp;quot;,                 &amp;quot;data_num&amp;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>

页面列表

ITEM_HTML