获取岗位列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取岗位列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost/dev-api/system/post/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</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;">postCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>岗位编码</td>
</tr>
<tr>
<td style="text-align: left;">postName</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>岗位名称</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>状态(0=正常,1=停用)</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"total": 4,
"rows": [
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "",
"params": {},
"postId": 1,
"postCode": "ceo",
"postName": "董事长",
"postSort": "1",
"status": "0",
"flag": false
},
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "",
"params": {},
"postId": 2,
"postCode": "se",
"postName": "项目经理",
"postSort": "2",
"status": "0",
"flag": false
},
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "",
"params": {},
"postId": 3,
"postCode": "hr",
"postName": "人力资源",
"postSort": "3",
"status": "0",
"flag": false
},
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "",
"params": {},
"postId": 4,
"postCode": "user",
"postName": "普通员工",
"postSort": "4",
"status": "0",
"flag": false
}
],
"code": 200,
"msg": "查询成功"
}
</code></pre>