用户列表
<p><strong>简要描述:</strong></p>
<ul>
<li>用户列表</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li>/openapi/user/list</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td>无参数</td>
</tr>
</tbody>
</table>
<p>> 注意,当参数是空的时候,签名时候 bodystr值是 {}, 例子: apppid{}1610531941802secret</p>
<p><strong>返回参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>否</td>
<td>Integer</td>
<td>异常见全局错误码</td>
</tr>
<tr>
<td>message</td>
<td>是</td>
<td>String</td>
<td>正常返回success,异常返回信息描述</td>
</tr>
<tr>
<td>data</td>
<td>是</td>
<td>UserItem[]</td>
<td>返回用户对象数组</td>
</tr>
</tbody>
</table>
<p><strong>UserItem:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>String</td>
<td>用户ID</td>
</tr>
<tr>
<td>name</td>
<td>是</td>
<td>String</td>
<td>用户名</td>
</tr>
<tr>
<td>loginName</td>
<td>是</td>
<td>String</td>
<td>登录名</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<p><strong>正常返回示例</strong></p>
<pre><code> {
&quot;success&quot;: true,
&quot;msg&quot;:&quot;success&quot;,
&quot;data&quot;: [
{
&quot;id&quot;:&quot;1&quot;,
&quot;name&quot;:&quot;测试1&quot;,
&quot;loginName&quot;:&quot;test1&quot;
},
{
&quot;id&quot;:&quot;2&quot;,
&quot;name&quot;:&quot;测试2&quot;,
&quot;loginName&quot;:&quot;test2&quot;
}
]
}</code></pre>
<p><strong>错误返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 401,
&quot;message&quot;: &quot;密码错误&quot;
}</code></pre>
<p>正式环境测试:<br />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/5d78ee306d9654b8f3dbccb4f7025bb7" alt="" /><br />
<strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>