用户重置密码
<p><strong>简要描述:</strong></p>
<ul>
<li>用户重置密码接口</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/login/reset</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>key</td>
<td>是</td>
<td>String</td>
<td>存储token的redis中对应的key</td>
</tr>
<tr>
<td>password</td>
<td>是</td>
<td>String</td>
<td>密码</td>
</tr>
<tr>
<td>code</td>
<td>是</td>
<td>String</td>
<td>昵称</td>
</tr>
<tr>
<td>sid</td>
<td>是</td>
<td>String</td>
<td>本地验证码对应唯一标识</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"data": {
},
"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-成功,500-失败</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>系统消息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>