列表
<h5>简要描述</h5>
<ul>
<li>列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/userProfile/list/{type}</code></li>
</ul>
<h5>请求URL示例</h5>
<ul>
<li><code>/userProfile/list/0</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET
<h5>请求参数说明</h5></li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td>int</td>
<td>类型(0:练习;1:考核;2:竞赛;3:待定)</td>
</tr>
</tbody>
</table>
<h5>返回示例 (type==0)</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;type&quot;: 0,
&quot;typeName&quot;: &quot;练习&quot;,
&quot;name&quot;: &quot;入口流程&quot;,
&quot;startTime&quot;: &quot;2023-07-20 19:26:06&quot;,
&quot;endTime&quot;: &quot;2023-07-20 18:56:06&quot;,
&quot;duration&quot;: 30,
&quot;answerDuration&quot;: null,
&quot;assessType&quot;: null,
&quot;assessTypeName&quot;: null,
&quot;totalScore&quot;: null,
&quot;flunkScore&quot;: null,
&quot;score&quot;: null,
&quot;accuracy&quot;: &quot;40.00&quot;,
&quot;ranking&quot;: null,
&quot;assessResult&quot;: null,
&quot;assessResultName&quot;: null,
&quot;id&quot;: &quot;8c85daf5601f43cf86279bb74764ef19&quot;,
&quot;userId&quot;: &quot;00000000222222222222222200000000&quot;
}
]
}</code></pre>
<h5>返回示例 (type==1)</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;type&quot;: 1,
&quot;typeName&quot;: &quot;考核&quot;,
&quot;name&quot;: null,
&quot;startTime&quot;: &quot;&quot;,
&quot;endTime&quot;: &quot;&quot;,
&quot;duration&quot;: 10,
&quot;answerDuration&quot;: 1,
&quot;assessType&quot;: 1,
&quot;assessTypeName&quot;: &quot;自测&quot;,
&quot;totalScore&quot;: 8,
&quot;flunkScore&quot;: 4,
&quot;score&quot;: 6,
&quot;accuracy&quot;: null,
&quot;ranking&quot;: null,
&quot;assessResult&quot;: 0,
&quot;assessResultName&quot;: &quot;及格&quot;,
&quot;id&quot;: &quot;0193cdefdb174e4b8ff4b970420f504e&quot;,
&quot;examId&quot;: &quot;f24cf06d3de141638f9caf0905aa8999&quot;,
&quot;userId&quot;: &quot;00000000222222222222222200000000&quot;,
&quot;scoreMethod&quot;: 0,
&quot;scoreMethodName&quot;: &quot;按题型&quot;
}
]
}</code></pre>
<h5>返回示例 (type==2)</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;type&quot;: 2,
&quot;typeName&quot;: &quot;竞赛&quot;,
&quot;name&quot;: &quot;test出口 新流程会不会报错&quot;,
&quot;startTime&quot;: &quot;2024-02-26 10:42:10&quot;,
&quot;endTime&quot;: &quot;2024-02-26 11:12:10&quot;,
&quot;duration&quot;: 30,
&quot;answerDuration&quot;: 5,
&quot;assessType&quot;: null,
&quot;assessTypeName&quot;: null,
&quot;totalScore&quot;: 290,
&quot;flunkScore&quot;: null,
&quot;score&quot;: 170,
&quot;accuracy&quot;: null,
&quot;ranking&quot;: 1,
&quot;assessResult&quot;: null,
&quot;assessResultName&quot;: null,
&quot;id&quot;: &quot;099f320ac5ce4bb49c0785f63aa39bcc&quot;,
&quot;examId&quot;: null,
&quot;userId&quot;: &quot;00000000222222222222222200000000&quot;,
&quot;scoreMethod&quot;: null,
&quot;scoreMethodName&quot;: null
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
<th>修改时间</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>类型(0:练习;1:考核;2:竞赛;3:待定)</td>
</tr>
<tr>
<td style="text-align: left;">typeName</td>
<td style="text-align: left;">string</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;">startTime</td>
<td style="text-align: left;">string</td>
<td>开始时间</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">string</td>
<td>结束时间</td>
</tr>
<tr>
<td style="text-align: left;">duration</td>
<td style="text-align: left;">int</td>
<td>时长</td>
</tr>
<tr>
<td style="text-align: left;">answerDuration</td>
<td style="text-align: left;">int</td>
<td>作答时长</td>
</tr>
<tr>
<td style="text-align: left;">assessType</td>
<td style="text-align: left;">int</td>
<td>考核状态(0:系统;1:自测)</td>
</tr>
<tr>
<td style="text-align: left;">assessTypeName</td>
<td style="text-align: left;">string</td>
<td>考核状态翻译</td>
</tr>
<tr>
<td style="text-align: left;">totalScore</td>
<td style="text-align: left;">int</td>
<td>总分</td>
</tr>
<tr>
<td style="text-align: left;">flunkScore</td>
<td style="text-align: left;">int</td>
<td>及格分</td>
</tr>
<tr>
<td style="text-align: left;">score</td>
<td style="text-align: left;">int</td>
<td>得分</td>
</tr>
<tr>
<td style="text-align: left;">accuracy</td>
<td style="text-align: left;">string</td>
<td>准确率</td>
</tr>
<tr>
<td style="text-align: left;">ranking</td>
<td style="text-align: left;">int</td>
<td>排名</td>
</tr>
<tr>
<td style="text-align: left;">assessResult</td>
<td style="text-align: left;">int</td>
<td>考核结果(0:及格;1:不及格)</td>
</tr>
<tr>
<td style="text-align: left;">assessResultName</td>
<td style="text-align: left;">string</td>
<td>考核结果翻译</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">string</td>
<td>id</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">string</td>
<td>用户id</td>
</tr>
<tr>
<td style="text-align: left;">scoreMethodName</td>
<td style="text-align: left;">string</td>
<td>计分方式</td>
<td>2024-05-07 11:48:47 星期二</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>