忘记密码接口-设置密码
<p><strong>简要描述:</strong> </p>
<ul>
<li>该接口用于登录页点击忘记密码,手机号及验证码验证完成后输入密码界面</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://iot.xunmingiot.com/config/forget2/</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>成功跳转到登录页面
失败:
{
'status': 404,
'error': '密码修改失败'
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>