榜点招生平台

榜点招生平台


导入教材

<p>[toc]</p> <h2>导入教材</h2> <h3>请求地址</h3> <p>/student_text_book/importTextBook</p> <h3>请求方式</h3> <p>POST</p> <h3>请求参数</h3> <table> <thead> <tr> <th>名称</th> <th>位置</th> <th>类型</th> <th>必选</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>TOKEN</td> <td>header</td> <td>string</td> <td>否</td> <td>none</td> </tr> <tr> <td>body</td> <td>body</td> <td>object</td> <td>否</td> <td>none</td> </tr> <tr> <td>» file</td> <td>body</td> <td>string(binary)</td> <td>否</td> <td>file</td> </tr> </tbody> </table> <h3>返回数据结构</h3> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;failCount&amp;quot;: 0, &amp;quot;failList&amp;quot;: [ {} ], &amp;quot;repeatList&amp;quot;: [ {} ], &amp;quot;successCount&amp;quot;: 0 }, &amp;quot;field&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;pageNum&amp;quot;: 0, &amp;quot;pageSize&amp;quot;: 0, &amp;quot;success&amp;quot;: true, &amp;quot;total&amp;quot;: 0, &amp;quot;totalPages&amp;quot;: 0 } </code></pre> <h3>返回属性</h3> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>约束</th> <th>中文名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>true</td> <td>none</td> <td>响应码</td> </tr> <tr> <td>data</td> <td><a href="#schemaimportlivecoursedto">ImportLiveCourseDTO</a></td> <td>true</td> <td>none</td> <td>none</td> </tr> <tr> <td>field</td> <td>string</td> <td>false</td> <td>none</td> <td>错误的的字段</td> </tr> <tr> <td>msg</td> <td>string</td> <td>true</td> <td>none</td> <td>用户可看的成功或失败的描述</td> </tr> <tr> <td>pageNum</td> <td>integer(int32)</td> <td>false</td> <td>none</td> <td>当前页码</td> </tr> <tr> <td>pageSize</td> <td>integer(int32)</td> <td>false</td> <td>none</td> <td>页面分页大小</td> </tr> <tr> <td>success</td> <td>boolean</td> <td>true</td> <td>none</td> <td>响应结果(true、false表示成功或失败)</td> </tr> <tr> <td>total</td> <td>integer(int64)</td> <td>false</td> <td>none</td> <td>分页条件查询出的总数据数</td> </tr> <tr> <td>totalPages</td> <td>integer(int32)</td> <td>false</td> <td>none</td> <td>计算出来的总共页数</td> </tr> </tbody> </table> <p>&lt;a id=&quot;schemaimportlivecoursedto&quot;&gt;&lt;/a&gt;</p> <h3>ImportLiveCourseDTO属性</h3> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必选</th> <th>约束</th> <th>中文名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>failCount</td> <td>integer(int32)</td> <td>false</td> <td>none</td> <td>失败导入数量</td> </tr> <tr> <td>failList</td> <td>[object]</td> <td>false</td> <td>none</td> <td>导入失败集合</td> </tr> <tr> <td>repeatList</td> <td>[object]</td> <td>false</td> <td>none</td> <td>重复数据集合</td> </tr> <tr> <td>successCount</td> <td>integer(int32)</td> <td>false</td> <td>none</td> <td>成功导入数量</td> </tr> </tbody> </table>

页面列表

ITEM_HTML