获取用户信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取用户基本信息</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/info</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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>登录所返回的token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"message": "ok",
"code": 200,
"data": {
"id": 16,
"username": "leo",
"email": "phper_leo@163.com",
"phone": "18520409113",
"avatar": "upload/20191024/812d3552cd61e4f94841c2eed190d1ed.JPG",
"remark": "",
"status":1,
"role": "管理员",
"create_time": "2019-10-24 15:21:28",
"update_time": "2019-10-24 15:21:28"
}
}</code></pre>