4.4修改账户信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>4.4修改账户信息</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/admin/user/updateAccount</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<pre><code> {
"username": "1769888888",
"position":"产品经理",
"name":"刘德华",
"state":0, //账户状态,0:正常,1:停用
"role": [1,4,6]
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
"code":0,
"msg":"success",
"data":true
}</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>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>