竞赛列表
<h5>简要描述</h5>
<ul>
<li>竞赛列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{BASE_URL}}/api/contest.contest/indexV2</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<p><code>一键curd的参数</code></p>
<h5>返回示例</h5>
<pre><code>{
"code": 20000,
"msg": "success",
"time": "2021-08-18 17:06:01",
"data": {
"count": 9,
"list": [
{
"contestId": 428,//竞赛ID
"platformId": 25,
"subject": "小林测试", #竞赛主题
"detail": null, # 竞赛简介
"job": 1, # 竞赛职业, 1 为 其他, 其余你那边自己定义,我这边帮你存
"module": "web_basic,web_script", # 竞赛模块
"thumb": "asfas.jpg", # 竞赛封面
hasGrades: 0 # 是否有过成绩, 如果有, 不允许修改contestStepNode
"addTime": "2021-08-18 16:59:10",
"updateTime": "2021-08-18 16:59:10",
"contestStepNode": [ # 模块列表详情
{
"contestStepNodeId": 15,
"contestId": 428,
"type": 1,
"groupId": 10,
"step": "webBasic",
"paperId": 10,
"duration": 10,
"startTime": "2021-08-18 00:00:00",
"endTime": "2021-08-19 00:00:00",
"status": 1,
"addTime": "2021-08-18 16:59:11",
"updateTime": "2021-08-18 16:59:11"
"paper": {
"name": "+6+6+1"
}
}
"mockEvaluationIdList": [],
"examEvaluationIdList": []
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>