合同 - 列表
<h5>简要描述</h5>
<ul>
<li>合同列表。</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>liyuan_base/contract/info/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</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;">type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>合同类型 1-凭租协议 2-隐私协议 3-保险合同 4-其他协议</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>状态 1生效 2失效</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>合同编号</td>
</tr>
<tr>
<td style="text-align: left;">contract</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>合同名称</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>备注</td>
</tr>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>分页大小</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 0,
"list": [
{
"contract": "测试1122",
"createBy": 626587226263781376,
"createTime": 1639365077772,
"deleted": 0,
"fileUrl": "/home/liyuan/liyuanfile/file/2021-12-13_9b0d19a3-c15e-4f15-b6b5-054068f1689f.jpg",
"id": 630208719942057984,
"merchantId": 1000000,
"remark": "2测是",
"status": 1,
"type": 3,
"updateBy": 626587226263781376,
"updateTime": 1639365077772
},
{
"contract": "测试222",
"createBy": 626587226263781376,
"createTime": 1639362292457,
"deleted": 0,
"fileUrl": "/home/liyuan/liyuanfile/file/2021-12-13_6af4af3a-ce71-49a9-8917-e40cf41e823e.jpg",
"id": 630197037484212224,
"merchantId": 1000000,
"remark": "测试",
"status": 1,
"type": 1,
"updateBy": 626587226263781376,
"updateTime": 1639362292457
},
{
"contract": "测试11",
"createBy": 626587226263781376,
"createTime": 1639362244949,
"deleted": 0,
"fileUrl": "/home/liyuan/liyuanfile/file/2021-12-13_28c30579-ce6d-4513-91db-6273ad492859.jpg",
"id": 630196838221217792,
"merchantId": 1000000,
"remark": "测试",
"status": 1,
"type": 2,
"updateBy": 626587226263781376,
"updateTime": 1639362244949
},
{
"contract": "测试",
"createBy": 626587226263781376,
"createTime": 1639360550016,
"deleted": 0,
"fileUrl": "/home/liyuan/liyuanfile/file/2021-12-13_e6359653-a44b-410d-9704-e7e924a755e8.jpg",
"id": 630189729156956160,
"merchantId": 1000000,
"remark": "测试",
"status": 1,
"type": 2,
"updateBy": 626587226263781376,
"updateTime": 1639360550016
},
{
"contract": "合同2",
"createBy": 626314038275473408,
"createTime": 1638759064593,
"deleted": 0,
"fileUrl": "合同2.qweqw",
"id": 627666916441325568,
"remark": "合同2-备注",
"status": 1,
"type": 1,
"updateBy": 626314038275473408,
"updateTime": 1638759064593
},
{
"contract": "合同1",
"createBy": 626314038275473408,
"createTime": 1638758610733,
"deleted": 0,
"fileUrl": "合同1.qweqw",
"id": 627665012814512128,
"remark": "合同1-备注",
"status": 1,
"type": 2,
"updateBy": 626314038275473408,
"updateTime": 1638762322395
}
],
"pageTurn": {
"currentPage": 1,
"end": 6,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 200,
"prevPage": 1,
"rowCount": 6,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}</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;">id</td>
<td style="text-align: left;">long</td>
<td>合同编号</td>
</tr>
<tr>
<td style="text-align: left;">contract</td>
<td style="text-align: left;">String</td>
<td>合同名称</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>合同类型 1-凭租协议 2-隐私协议 3-保险合同 4-其他协议</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>状态 1生效 2失效</td>
</tr>
<tr>
<td style="text-align: left;">update_time</td>
<td style="text-align: left;">timestamp</td>
<td>更新时间</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>