更新密码
<p><strong>简要描述:</strong></p>
<ul>
<li>用户密码修改接口</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/user/passwd</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<p>请求header: 用户token</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>oldpass</td>
<td>是</td>
<td>String</td>
<td>旧密码</td>
</tr>
<tr>
<td>newpass</td>
<td>是</td>
<td>String</td>
<td>新密码</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"msg":""
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>Number</td>
<td>200-更新成功</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>系统消息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>