获取用户信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取用户信息</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/cli/account</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"result": "success",
"data": {
"id": 43,
"login": "17602121701",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/6qlDPysibRLuwF1uiaWMq7mxVeUDB8SvmNMcDiak08PjOccd4gearvTsDHINicauFs96uibOicvicK2KBJYWAQHcLHUwA/132",
"remember_token": null,
"nickname": "卖火柴的小女孩💋",
"mobile": "17602121701",
"email": null,
"language": "zh_CN",
"role": "teacher",
"last_login_at": "2018-10-30 10:48:46",
"created_at": "2018-06-26 18:31:29",
"updated_at": "2018-10-30 10:48:46",
"created_by": 0,
"updated_by": 43,
"deleted_at": null,
"inviter_id": null,
"push_id": "18071adc0327719f956"
},
"message": "操作成功",
"ct": 1540956994
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>