V1.1根据id查问卷详情(问卷管理界面查题目)
<p><strong>简要描述:</strong> </p>
<ul>
<li>V1.1根据id查问卷详情(问卷管理界面查题目)</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/xinshen/questionnaire/queryQuestionAndScore.htm</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>get </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">questionnaireId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">number</td>
<td>问卷id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"msg": "成功",
"data": [
{
"question": {
"id": 493,
"questionTitle": "接单数量",
"questionExplain": "接单数量",
"questionType": "",
"updateDate": "2018-05-04 12:11:17",
"state": "10",
"remark": "",
"answerType": 0
},
"questionOption": [
{
"id": 573,
"questionId": 493,
"questionOptionKey": "A",
"questionOptionValue": "无",
"createDate": "2018-05-04 12:11:09",
"updateDate": "2018-05-04 12:11:09",
"state": "10",
"score": 0,
"optionScoreId": 689
},
{
"id": 574,
"questionId": 493,
"questionOptionKey": "B",
"questionOptionValue": "1单",
"createDate": "2018-05-04 12:11:09",
"updateDate": "2018-05-04 12:11:09",
"state": "10",
"score": 0,
"optionScoreId": 690
},
{
"id": 575,
"questionId": 493,
"questionOptionKey": "C",
"questionOptionValue": "2单",
"createDate": "2018-05-04 12:11:09",
"updateDate": "2018-05-04 12:11:09",
"state": "10",
"score": 0,
"optionScoreId": 691
},
{
"id": 576,
"questionId": 493,
"questionOptionKey": "D",
"questionOptionValue": "2单以上",
"createDate": "2018-05-04 12:11:09",
"updateDate": "2018-05-04 12:11:09",
"state": "10",
"score": 0,
"optionScoreId": 692
}
]
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>