用户列表管理
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户列表,带模糊查询,不分页,仅限管理员操作</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://ip:port/user/getAllUser</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;">username</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
<tr>
<td style="text-align: left;">chineseName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>中文名称</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"status": 0,
"errmsgfilter": false,
"encrypted": false,
"desc": "成功",
"result": [
{
"id": "22d2ba26bfee4c88a46f7da0f71cefcb",
"username": "xiaoyinli@geostar.com.cn",
"password": "123456",
"encrypword": "207CF410532F92A47DEE245CE9B11FF71F578EBD763EB3BBEA44EBD043D018FB",
"usertype": 2,
"number": null,
"chineseName": "xiaoyinli@geostar.com.cn",
"registTime": "2022-11-15 18:11:44",
"lastModifyTime": "2022-11-15 18:11:44",
"defaultPassword": true
},
{
"id": "cba2e06356c1424d886cd29f28c3475e",
"username": "admin",
"password": "123456",
"encrypword": "207CF410532F92A47DEE245CE9B11FF71F578EBD763EB3BBEA44EBD043D018FB",
"usertype": 1,
"number": null,
"chineseName": "管理员",
"registTime": "2022-11-15 18:12:44",
"lastModifyTime": "2022-11-15 18:12:44",
"defaultPassword": true
},
{
"id": "938dd2e5b87546188bab914dbeb6c4cc",
"username": "licheng",
"password": "licheng123456",
"encrypword": "B87DD6C3EF1DC5B9693FA097EA1E706C88998C4150DE5B3DC993CB1A05052DB5",
"usertype": 2,
"number": null,
"chineseName": "李成",
"registTime": "2022-11-15 18:13:38",
"lastModifyTime": "2022-11-15 18:13:38",
"defaultPassword": false
},
{
"id": "64b91de037e449e18ded5b314b24e63b",
"username": "xiaoming",
"password": "123456",
"encrypword": "207CF410532F92A47DEE245CE9B11FF71F578EBD763EB3BBEA44EBD043D018FB",
"usertype": 2,
"number": null,
"chineseName": "小明",
"registTime": "2022-11-15 18:21:03",
"lastModifyTime": "2022-11-16 10:53:29",
"defaultPassword": true
},
{
"id": "bca6b1ed4a094191bd27d1cf00d4c467",
"username": "xiaohong",
"password": "xh123456",
"encrypword": "207CF410532F92A47DEE245CE9B11FF71F578EBD763EB3BBEA44EBD043D018FB",
"usertype": 2,
"number": null,
"chineseName": "小红",
"registTime": "2022-11-15 18:21:26",
"lastModifyTime": "2022-11-15 18:31:39",
"defaultPassword": false
}
]
}</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;">username</td>
<td style="text-align: left;">String</td>
<td>用户名</td>
</tr>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">String</td>
<td>密码</td>
</tr>
<tr>
<td style="text-align: left;">encrypword</td>
<td style="text-align: left;">String</td>
<td>SM3密码</td>
</tr>
<tr>
<td style="text-align: left;">usertype</td>
<td style="text-align: left;">Integer</td>
<td>用户类型(1:管理员,2:普通用户)</td>
</tr>
<tr>
<td style="text-align: left;">number</td>
<td style="text-align: left;">String</td>
<td>序号</td>
</tr>
<tr>
<td style="text-align: left;">chineseName</td>
<td style="text-align: left;">String</td>
<td>用户中文名称</td>
</tr>
<tr>
<td style="text-align: left;">registTime</td>
<td style="text-align: left;">String</td>
<td>注册时间</td>
</tr>
<tr>
<td style="text-align: left;">lastModifyTime</td>
<td style="text-align: left;">String</td>
<td>最后修改时间</td>
</tr>
<tr>
<td style="text-align: left;">defaultPassword</td>
<td style="text-align: left;">Boolean</td>
<td>是否为默认密码</td>
</tr>
</tbody>
</table>