修改当前账号的密码接口
<h2>修改当前账号的密码接口</h2>
<pre><code>url: /user/updatepassword
请求方式: POST
说明: 需登录 修改当前账号的密码接口</code></pre>
<p>入参参数说明:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>oldPassword</td>
<td>是</td>
<td>String(64)</td>
<td>原登录密码</td>
</tr>
<tr>
<td>newPassword</td>
<td>是</td>
<td>String(64)</td>
<td>新登录密码</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":null
}</code></pre>