微同课后台2

微同课后台管理系统接口(续)


学习记录(学习机)记录列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>用户学习机内学习记录列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>user_data/study_course_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;">user_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;">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;">start_time</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>学习时间--开始时间</td> </tr> <tr> <td style="text-align: left;">end_time</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>学习时--结束时间</td> </tr> <tr> <td style="text-align: left;">course_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;page&amp;quot;: 1,         &amp;quot;pageSize&amp;quot;: 5,         &amp;quot;count&amp;quot;: 14,         &amp;quot;list&amp;quot;: [             {                 &amp;quot;id&amp;quot;: 133,                 &amp;quot;course_id&amp;quot;: 7, // 课程ID                 &amp;quot;now_time&amp;quot;: 692, // 学习进度(秒)                 &amp;quot;study_duration&amp;quot;: 30, // 学习时长(秒)                 &amp;quot;create_time&amp;quot;: 1752115797 // 学习时间             },             {                 &amp;quot;id&amp;quot;: 131,                 &amp;quot;course_id&amp;quot;: 7,                 &amp;quot;section_id&amp;quot;: 176,                 &amp;quot;now_time&amp;quot;: 102,                 &amp;quot;study_duration&amp;quot;: 30,                 &amp;quot;create_time&amp;quot;: 1752115797             },             {                 &amp;quot;id&amp;quot;: 132,                 &amp;quot;course_id&amp;quot;: 7,                 &amp;quot;section_id&amp;quot;: 177,                 &amp;quot;now_time&amp;quot;: 347,                 &amp;quot;study_duration&amp;quot;: 30,                 &amp;quot;create_time&amp;quot;: 1752115321             },             {                 &amp;quot;id&amp;quot;: 130,                 &amp;quot;course_id&amp;quot;: 7,                 &amp;quot;section_id&amp;quot;: 176,                 &amp;quot;now_time&amp;quot;: 50,                 &amp;quot;study_duration&amp;quot;: 30,                 &amp;quot;create_time&amp;quot;: 1752115321             },             {                 &amp;quot;id&amp;quot;: 129,                 &amp;quot;course_id&amp;quot;: 9,                 &amp;quot;section_id&amp;quot;: 24,                 &amp;quot;now_time&amp;quot;: 16,                 &amp;quot;study_duration&amp;quot;: 17,                 &amp;quot;create_time&amp;quot;: 1750227848             }         ]     } }</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