用户详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>sys/user/detail</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>get </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 200,
"data": {
"roles": [
{
"id": 5,
"name": "客服",
"remark": "客服",
"createTime": "2020-10-15T06:28:05.000+0000",
"lastUpdate": null,
"flag": null
},
{
"id": 4,
"name": "管理员",
"remark": "管理员",
"createTime": "2020-10-15T06:19:08.000+0000",
"lastUpdate": null,
"flag": null
}
],
"user": {
"id": 4,
"name": "财豆",
"username": "admin",
"password": "Katepay123.",
"email": "795@qq.com",
"mobile": "15632145682",
"status": "0",
"createTime": "2017-04-21T07:32:14.000+0000",
"lastUpdate": "2017-07-05T07:59:43.000+0000"
}
},
"message": "success"
}
</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>