裁判curd
<h5>简要描述</h5>
<ul>
<li>裁判curd</li>
</ul>
<h5>请求URL</h5>
<ul>
<li>批量保存 <code>/api/contest.judge/save</code> POST</li>
<li>列表 <code>/api/contest.judge</code> GET 通用搜索 加上filter:contestId</li>
<li>添加 <code>/api/contest.judge/add</code> POST</li>
<li>编辑 <code>/api/contest.judge/edit/id/:contestJudgeId</code> POST</li>
<li>删除 <code>/api/contest.judge/del/ids/:contestJudgeIds</code> DELETE</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;">name</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>裁判名称</td>
</tr>
<tr>
<td style="text-align: left;">contestId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>竞赛id</td>
</tr>
</tbody>
</table>
<pre><code>批量保存
{
"contestId": 866,
"judgeArr":[
{"name":"裁判10", "contestJudgeId":1},#编辑的时候需要带上contestJudgeId
{"name":"裁判1"}
]
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
"code": 20000,
"msg": "success",
"time": "2021-10-25 15:09:56",
"data": {
"count": 3,
"list": [
{
"contestJudgeId": 3,
"contestId": 866,
"name": "裁判1",
"platformId": 527,
"status": 1,
"addTime": "2021-10-25 15:02:07",
"updateTime": "2021-10-25 15:02:07"
},
{
"contestJudgeId": 2,
"contestId": 866,
"name": "裁判1",
"platformId": 527,
"status": 1,
"addTime": "2021-10-25 15:02:01",
"updateTime": "2021-10-25 15:02:01"
},
{
"contestJudgeId": 1,
"contestId": 866,
"name": "裁判1",
"platformId": 527,
"status": 1,
"addTime": "2021-10-25 15:01:54",
"updateTime": "2021-10-25 15:01:54"
}
]
}
}</code></pre>