自选试题
<h5>简要描述</h5>
<ul>
<li>自选试题</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/retrainExamTopicType/chooseTopics</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求示例</h5>
<ul>
<li>按题型
<pre><code>{
&quot;topics&quot;:[
{
&quot;type&quot;:0,
&quot;kinds&quot;:1,
&quot;num&quot;:2,
&quot;score&quot;:10
}
],
&quot;picPathId&quot;:&quot;64f55f5a8cd54822911b78f3f6732531,719416b6f37942b38875a948c316a927&quot;,
&quot;deletePicNames&quot;: &quot;&quot;,
&quot;scoreMethod&quot;:1,
&quot;plateIdentifyWay&quot;,1
}</code></pre></li>
<li>按扣分点
<pre><code>{
&quot;topics&quot;:[
{
&quot;type&quot;:0,
&quot;kinds&quot;:1,
&quot;num&quot;:2,
&quot;score&quot;:10
}
],
&quot;picPathId&quot;:&quot;64f55f5a8cd54822911b78f3f6732531,719416b6f37942b38875a948c316a927&quot;,
&quot;deletePicNames&quot;: &quot;&quot;,
&quot;scoreMethod&quot;:2,
&quot;plateIdentifyWay&quot;:1,
&quot;demeritPointsOptions&quot;:[
{
&quot;id&quot;:2,
&quot;score&quot;:3
},
{
&quot;id&quot;:3,
&quot;score&quot;:4
}
]
}</code></pre></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;">deletePicNames</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>需过滤的图片名称,多个以逗号隔开</td>
</tr>
<tr>
<td style="text-align: left;">picPathId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>图库名称,层级按.,多个以逗号隔开</td>
</tr>
<tr>
<td style="text-align: left;">topics</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">list</td>
<td>所有选择的题目数据</td>
</tr>
<tr>
<td style="text-align: left;">type</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;">kinds</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>题目种类(传字典值)</td>
</tr>
<tr>
<td style="text-align: left;">num</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>题目数量</td>
</tr>
<tr>
<td style="text-align: left;">score</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>单条分值</td>
</tr>
<tr>
<td style="text-align: left;">plateIdentifyWay</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>车牌识别方式</td>
</tr>
<tr>
<td style="text-align: left;">demeritPointsOptions</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">list</td>
<td>扣分点</td>
</tr>
<tr>
<td style="text-align: left;">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;">score</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>扣分点分数</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;examId&quot;: null,
&quot;type&quot;: 0,
&quot;kinds&quot;: 1,
&quot;score&quot;: 10,
&quot;picName&quot;: &quot;20230724879c2406e5164a71bbdc1efead35fea9.jpg&quot;,
&quot;createTime&quot;: null,
&quot;createUserId&quot;: null,
&quot;id&quot;: 1,
&quot;typeName&quot;: &quot;入口&quot;,
&quot;kindsName&quot;: &quot;入口正常车&quot;,
&quot;sequence&quot;: null,
&quot;thumbnailName&quot;: &quot;thumbnail_20230724879c2406e5164a71bbdc1efead35fea9.jpg&quot;,
&quot;plateIdentifyWay&quot;: 2,
&quot;plateIdentifyWayName&quot;: &quot;-&quot;,
&quot;tollFee&quot;: 8000,
&quot;stepInfoList&quot;: [
{
&quot;id&quot;: 1,
&quot;step&quot;: 1,
&quot;stepName&quot;: &quot;输入车型&quot;,
&quot;code&quot;: &quot;vehicleModel,vehicleType&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 2
},
{
&quot;id&quot;: 1,
&quot;step&quot;: 2,
&quot;stepName&quot;: &quot;刷cpc卡&quot;,
&quot;code&quot;: &quot;cpc-swipe,cpc-read&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 8
}
]
},
{
&quot;examId&quot;: null,
&quot;type&quot;: 0,
&quot;kinds&quot;: 2,
&quot;score&quot;: 10,
&quot;picName&quot;: &quot;20240223293af15451e545019d38d7e407e32a6a.png&quot;,
&quot;createTime&quot;: null,
&quot;createUserId&quot;: null,
&quot;id&quot;: 2,
&quot;typeName&quot;: &quot;入口&quot;,
&quot;kindsName&quot;: &quot;入口车队(不发卡)&quot;,
&quot;sequence&quot;: null,
&quot;thumbnailName&quot;: &quot;thumbnail_20240223293af15451e545019d38d7e407e32a6a.png&quot;,
&quot;plateIdentifyWay&quot;: 2,
&quot;plateIdentifyWayName&quot;: &quot;-&quot;,
&quot;tollFee&quot;: 5800,
&quot;stepInfoList&quot;: [
{
&quot;id&quot;: 2,
&quot;step&quot;: 9,
&quot;stepName&quot;: &quot;输入【车队车】&quot;,
&quot;code&quot;: &quot;key,192&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 4
},
{
&quot;id&quot;: 2,
&quot;step&quot;: 10,
&quot;stepName&quot;: &quot;【确认键】,完成车队车操作&quot;,
&quot;code&quot;: &quot;fleet,fleet-enter&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 6
}
]
},
{
&quot;examId&quot;: null,
&quot;type&quot;: 0,
&quot;kinds&quot;: 3,
&quot;score&quot;: 10,
&quot;picName&quot;: &quot;202308137097241bbb5f41e097ce0ce9a399d631.jpg&quot;,
&quot;createTime&quot;: null,
&quot;createUserId&quot;: null,
&quot;id&quot;: 3,
&quot;typeName&quot;: &quot;入口&quot;,
&quot;kindsName&quot;: &quot;入口纸券车&quot;,
&quot;sequence&quot;: null,
&quot;thumbnailName&quot;: &quot;thumbnail_202308137097241bbb5f41e097ce0ce9a399d631.jpg&quot;,
&quot;plateIdentifyWay&quot;: 2,
&quot;plateIdentifyWayName&quot;: &quot;-&quot;,
&quot;tollFee&quot;: 3200,
&quot;stepInfoList&quot;: [
{
&quot;id&quot;: 3,
&quot;step&quot;: 1,
&quot;stepName&quot;: &quot;输入车型&quot;,
&quot;code&quot;: &quot;vehicleModel,vehicleType&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 6
},
{
&quot;id&quot;: 3,
&quot;step&quot;: 11,
&quot;stepName&quot;: &quot;输入【纸券】&quot;,
&quot;code&quot;: &quot;key, 191&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 2
},
{
&quot;id&quot;: 3,
&quot;step&quot;: 12,
&quot;stepName&quot;: &quot;【确认键】,完成纸券操作&quot;,
&quot;code&quot;: &quot;paper-enter&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 2
}
]
},
{
&quot;examId&quot;: null,
&quot;type&quot;: 0,
&quot;kinds&quot;: 4,
&quot;score&quot;: 10,
&quot;picName&quot;: null,
&quot;createTime&quot;: null,
&quot;createUserId&quot;: null,
&quot;id&quot;: 4,
&quot;typeName&quot;: &quot;入口&quot;,
&quot;kindsName&quot;: &quot;入口上班/返岗&quot;,
&quot;sequence&quot;: null,
&quot;thumbnailName&quot;: null,
&quot;plateIdentifyWay&quot;: 2,
&quot;plateIdentifyWayName&quot;: &quot;-&quot;,
&quot;tollFee&quot;: 3500,
&quot;stepInfoList&quot;: [
{
&quot;id&quot;: 4,
&quot;step&quot;: 13,
&quot;stepName&quot;: &quot;【确认键】,完成返岗操作&quot;,
&quot;code&quot;: &quot;onduty-enter&quot;,
&quot;scores&quot;: null,
&quot;times&quot;: null,
&quot;tollScore&quot;: 10,
&quot;stepScore&quot;: 10
}
]
}
]
}</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;">id</td>
<td style="text-align: left;">int</td>
<td>唯一值</td>
<td>2024-05-07 18:03:42 星期二</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;">kindsName</td>
<td style="text-align: left;">string</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;">picName</td>
<td style="text-align: left;">string</td>
<td>试题图片</td>
</tr>
<tr>
<td style="text-align: left;">examId</td>
<td style="text-align: left;">string</td>
<td>试卷id</td>
<td>2024-04-25 16:07:35 星期四</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>试题类型(字典)</td>
<td>2024-04-25 16:08:06 星期四</td>
</tr>
<tr>
<td style="text-align: left;">kinds</td>
<td style="text-align: left;">int</td>
<td>试题种类(字典)</td>
<td>2024-04-25 16:08:40 星期四</td>
</tr>
<tr>
<td style="text-align: left;">plateIdentifyWay</td>
<td style="text-align: left;">int</td>
<td>车牌识别方式(字典)</td>
<td>2024-04-25 16:09:32 星期四</td>
</tr>
<tr>
<td style="text-align: left;">plateIdentifyWayName</td>
<td style="text-align: left;">string</td>
<td>车牌识别方式</td>
<td>2024-04-25 16:10:12 星期四</td>
</tr>
<tr>
<td style="text-align: left;">stepInfoList</td>
<td style="text-align: left;">list</td>
<td>题型步骤</td>
<td>2024-04-25 16:10:30 星期四</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">int</td>
<td>id;归属stepInfoList</td>
<td>2024-05-07 17:56:45 星期二</td>
</tr>
<tr>
<td style="text-align: left;">step</td>
<td style="text-align: left;">int</td>
<td>步骤(字典);归属stepInfoList</td>
<td>2024-04-25 16:11:31 星期四</td>
</tr>
<tr>
<td style="text-align: left;">stepName</td>
<td style="text-align: left;">string</td>
<td>步骤;归属stepInfoList</td>
<td>2024-04-25 16:11:28 星期四</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">string</td>
<td>步骤操作;归属stepInfoList</td>
<td>2024-04-25 16:11:52 星期四</td>
</tr>
<tr>
<td style="text-align: left;">tollScore</td>
<td style="text-align: left;">int</td>
<td>单题分值;归属stepInfoList</td>
<td>2024-05-07 16:06:32 星期二</td>
</tr>
<tr>
<td style="text-align: left;">stepScore</td>
<td style="text-align: left;">int</td>
<td>步骤分值;归属stepInfoList</td>
<td>2024-05-07 16:06:48 星期二</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>