小程序

小程序


修改密码

<h5>简要描述</h5> <ul> <li>修改密码接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://whjzz.home.luckyxp.cn:8000/portal/User/ModifyPwd</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>token</td> </tr> <tr> <td style="text-align: left;">pwd_old</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>原密码</td> </tr> <tr> <td style="text-align: left;">pwd</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>新密码</td> </tr> </tbody> </table> <h5>返回成功示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;修改信息成功&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 400, &amp;quot;msg&amp;quot;: &amp;quot;请先登录&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <pre><code>{ &amp;quot;code&amp;quot;: 400, &amp;quot;msg&amp;quot;: &amp;quot;登录信息已过期,请重新登录&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">avatar</td> <td style="text-align: left;">string</td> <td>头像地址</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML