编辑试卷
<h5>简要描述</h5>
<ul>
<li>编辑试卷</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{BASE_URL}}/api/job.paper/editAccountPositioning/id/:id</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求参数</h5>
<pre><code>{
"video": "",
"name": "小林测试试卷",
"score": "6.00",
"extra": {
"subjectiveTitle": "我是主观题题目"
},
"objectiveList": [
{
"question": "从默认题库中获取的题目1",
"type": 1,
"score": "2.00",
"jobQuestionId": 86,# 标识, 跟添加相比, 多了此项
"answer": "0,1",
"option": [
"我是一选项",
"我是二选项"
],
"paperQuestionId":66 #标识, 跟添加相比, 多了此项
}
],
"subjectiveList": [
{
"paperQuestionId":67,
"question": "从默认题库中获取的题目",
"type": 5,
"score": "4.00",
"keywordScore": "20.00",
"keywords": "关键字 1, 关键字二",
"jobQuestionId": 87,
"answer": "0,1",
"option": null,
"subjectiveScore": 10
}
]
}</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>