分页查询留言板
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/questionnaire/openFindPageListLeave.do</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;"></td>
<td>否</td>
<td>string</td>
<td>留言标题</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;"></td>
<td>否</td>
<td>string</td>
<td>问卷调查状态:editing.编辑中,collecting.收集中,closed.已关闭,deleteSurvey.已删除</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;"></td>
<td>否</td>
<td>string</td>
<td>问卷调查类型:0.内部调查,1.公开调查</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;"></td>
<td>是</td>
<td>int</td>
<td>1</td>
</tr>
<tr>
<td style="text-align: left;">rows</td>
<td style="text-align: left;"></td>
<td>是</td>
<td>int</td>
<td>10</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 200,
"msg": "执行成功",
"data": {
"records": [
{
"sId": "1844557711114231809",
"sTitle": "123",
"sDescription": "123",
"sEndTime": "2024-10-11 09:57:17",
"sFillCount": null,
"sStartTime": "2024-10-11 09:57:09",
"sStatus": "closed",
"sType": "1",
"sUserName": null,
"sCreateDate": "2024-10-11 09:56:43",
"sCreateUserId": "1",
"sUpdateDate": "2024-10-11 09:57:17",
"sUpdateUserId": "1",
"sNeedComment": "1",
"sNeedAudit": "1",
"questions": [
{
"sId": "1844557754961485825",
"sTitle": "1111",
"sDetails": "{\"questionOptions\":[\"\"],\"frontOptions\":[[]],\"frontChoose\":false,\"numberType\":\"integer\",\"defaultNumber\":0,\"gradeMax\":5,\"date\":\"2024-10-11T01:56:53.641Z\",\"textDescription\":\"\"}",
"sDescription": null,
"sNullable": 0,
"sType": "single_line_text",
"sQuestionnaireId": "1844557711114231809",
"sOrder": 1,
"sCreateDate": "2024-10-11 09:56:53",
"sCreateUserId": "1",
"sUpdateDate": "2024-10-11 09:57:07",
"sUpdateUserId": "1",
"questionJSON": {
"questionOptions": [
""
],
"frontOptions": [
[]
],
"frontChoose": false,
"numberType": "integer",
"defaultNumber": 0,
"gradeMax": 5,
"date": "2024-10-11T01:56:53.641Z",
"textDescription": ""
}
}
],
"accepts": null,
"comments": null
},
],
"total": 4,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
},
"timestamp": 1728638173787
}
</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;">code</td>
<td style="text-align: left;">string</td>
<td>状态码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>状态描述</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">string</td>
<td>返回信息</td>
</tr>
<tr>
<td style="text-align: left;">timestamp</td>
<td style="text-align: left;">string</td>
<td>返回时间(当前时间的毫秒值)</td>
</tr>
<tr>
<td style="text-align: left;">records</td>
<td style="text-align: left;">string</td>
<td>留言模板集合</td>
</tr>
<tr>
<td style="text-align: left;">total</td>
<td style="text-align: left;">string</td>
<td>总条数</td>
</tr>
<tr>
<td style="text-align: left;">size</td>
<td style="text-align: left;">string</td>
<td>每页条数</td>
</tr>
<tr>
<td style="text-align: left;">current</td>
<td style="text-align: left;">string</td>
<td>当前页</td>
</tr>
<tr>
<td style="text-align: left;">pages</td>
<td style="text-align: left;">string</td>
<td>总页数</td>
</tr>
<tr>
<td style="text-align: left;">questions</td>
<td style="text-align: left;">string</td>
<td>留言题目集合</td>
</tr>
</tbody>
</table>