编辑子账号接口
<h2>编辑子账号接口</h2>
<pre><code>url: /user/account/sub/update
请求方式: POST
说明: 需登录 编辑子账号接口</code></pre>
<p>入参参数说明:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>Long(20)</td>
<td>子账号id</td>
</tr>
<tr>
<td>account</td>
<td>是</td>
<td>String(32)</td>
<td>账号登录账号(账号无法修改)</td>
</tr>
<tr>
<td>password</td>
<td>否</td>
<td>String(64)</td>
<td>登录密码(不传则不更新密码)</td>
</tr>
<tr>
<td>realName</td>
<td>否</td>
<td>String(32)</td>
<td>使用人姓名</td>
</tr>
<tr>
<td>telephone</td>
<td>否</td>
<td>String(20)</td>
<td>联系方式</td>
</tr>
<tr>
<td>roleId</td>
<td>是</td>
<td>Long(20)</td>
<td>用户角色id</td>
</tr>
</tbody>
</table>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>String</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>返回消息</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg":"操作成功!",
"code":"0000",
"data":{
"id":1
}
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>Long</td>
<td>子账号id</td>
</tr>
</tbody>
</table>