违规功能处理模块
<h5>简要描述</h5>
<ul>
<li>违规详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/personal/violation/detail</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求示例</h5>
<pre><code>{
&quot;competitionId&quot;:&quot;1&quot;,
&quot;competitionFormat&quot;:1,
&quot;userId&quot;:&quot;2&quot;
}</code></pre>
<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;">competitionId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>考试id (包括自测,考核,竞赛)</td>
</tr>
<tr>
<td style="text-align: left;">competitionFormat</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>考试方式(0:自测,1:考核,2:竞赛)</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;competitionId&quot;: &quot;1&quot;,
&quot;competitionFormat&quot;: 1,
&quot;violationUserId&quot;: &quot;2&quot;,
&quot;recordIdentityType&quot;: 0,
&quot;competitionFormatName&quot;: &quot;考核&quot;,
&quot;recordIdentityTypeName&quot;: &quot;裁判员&quot;,
&quot;violationList&quot;: [
{
&quot;violationType&quot;: 0,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null,
&quot;violationTypeName&quot;: &quot;收费操作违规&quot;,
&quot;violationStatusName&quot;: &quot;否&quot;
},
{
&quot;violationType&quot;: 1,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null,
&quot;violationTypeName&quot;: &quot;收费清点违规&quot;,
&quot;violationStatusName&quot;: &quot;否&quot;
},
{
&quot;violationType&quot;: 2,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null,
&quot;violationTypeName&quot;: &quot;取消资格&quot;,
&quot;violationStatusName&quot;: &quot;否&quot;
}
]
},
{
&quot;competitionId&quot;: &quot;1&quot;,
&quot;competitionFormat&quot;: 1,
&quot;violationUserId&quot;: &quot;2&quot;,
&quot;recordIdentityType&quot;: 1,
&quot;competitionFormatName&quot;: &quot;考核&quot;,
&quot;recordIdentityTypeName&quot;: &quot;裁判组&quot;,
&quot;violationList&quot;: [
{
&quot;violationType&quot;: 0,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null,
&quot;violationTypeName&quot;: &quot;收费操作违规&quot;,
&quot;violationStatusName&quot;: &quot;否&quot;
},
{
&quot;violationType&quot;: 1,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null,
&quot;violationTypeName&quot;: &quot;收费清点违规&quot;,
&quot;violationStatusName&quot;: &quot;否&quot;
},
{
&quot;violationType&quot;: 2,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null,
&quot;violationTypeName&quot;: &quot;取消资格&quot;,
&quot;violationStatusName&quot;: &quot;否&quot;
}
]
}
]
}</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;">competitionId</td>
<td style="text-align: left;">string</td>
<td>考试方式id</td>
</tr>
<tr>
<td style="text-align: left;">competitionFormat</td>
<td style="text-align: left;">int</td>
<td>考试状态,字典值(0:自测,1:考核,2:竞赛)</td>
</tr>
<tr>
<td style="text-align: left;">competitionFormatName</td>
<td style="text-align: left;">string</td>
<td>考试状态</td>
</tr>
<tr>
<td style="text-align: left;">violationUserId</td>
<td style="text-align: left;">string</td>
<td>违规用户id</td>
</tr>
<tr>
<td style="text-align: left;">recordIdentityType</td>
<td style="text-align: left;">int</td>
<td>录入身份类型,字典值(0:裁判员,1:裁判组)</td>
</tr>
<tr>
<td style="text-align: left;">recordIdentityTypeName</td>
<td style="text-align: left;">string</td>
<td>录入身份类型</td>
</tr>
<tr>
<td style="text-align: left;">violationList</td>
<td style="text-align: left;">list</td>
<td>违规操作详情</td>
</tr>
<tr>
<td style="text-align: left;">violationType</td>
<td style="text-align: left;">int</td>
<td>违规类型,字典值(0:模拟收费操作违规,1:收费清点违规,2:取消资格)</td>
</tr>
<tr>
<td style="text-align: left;">violationStatus</td>
<td style="text-align: left;">int</td>
<td>违规状态,字典值(0:否,1:是)</td>
</tr>
<tr>
<td style="text-align: left;">violationRemark</td>
<td style="text-align: left;">string</td>
<td>违规备注</td>
</tr>
<tr>
<td style="text-align: left;">violationTypeName</td>
<td style="text-align: left;">string</td>
<td>违规类型</td>
</tr>
<tr>
<td style="text-align: left;">violationStatusName</td>
<td style="text-align: left;">string</td>
<td>违规状态</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<h5>简要描述</h5>
<ul>
<li>违规信息保存</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/personal/violation/save</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求示例</h5>
<pre><code>{
&quot;competitionId&quot;: &quot;2&quot;,
&quot;competitionFormat&quot;: 1,
&quot;violationUserId&quot;: &quot;2&quot;,
&quot;recordIdentityType&quot;: 0,
&quot;violationList&quot;: [
{
&quot;violationType&quot;: 0,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null
},
{
&quot;violationType&quot;: 1,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null
},
{
&quot;violationType&quot;: 2,
&quot;violationStatus&quot;: 0,
&quot;violationRemark&quot;: null
}
]
}</code></pre>
<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;">competitionId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>考试id</td>
</tr>
<tr>
<td style="text-align: left;">competitionFormat</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>考试方式(0:自测,1:考核,2:竞赛)</td>
</tr>
<tr>
<td style="text-align: left;">violationUserId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户id</td>
</tr>
<tr>
<td style="text-align: left;">recordIdentityType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>录入身份类型(0:裁判员,1:裁判组)</td>
</tr>
<tr>
<td style="text-align: left;">violationList</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">list</td>
<td>违规内容</td>
</tr>
<tr>
<td style="text-align: left;">violationType</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>违规类型(0:模拟收费操作违规,1:收费清点违规,2:取消资格) ;归属violationList</td>
</tr>
<tr>
<td style="text-align: left;">violationStatus</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>违规状态(0:否,1:是) ;归属violationList</td>
</tr>
<tr>
<td style="text-align: left;">violationRemark</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>违规备注 ;归属violationList</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>