API

凤凰投注开放其他


忘记密码

<h3><strong>简要描述:</strong></h3> <p><strong>一、发送短信:</strong> </p> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xxx.xxx.com/Systems/sendVerificationCode </code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST Content-Type: application/json;charset=utf-8</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;">username</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户名</td> </tr> <tr> <td style="text-align: left;">mobile_phone</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>手机号</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>1. -成功案例 { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;:2006, //正确密码 &amp;quot;info&amp;quot;:&amp;quot;已发送短信&amp;quot; //返回信息 } 2. -失败案例 { &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;:2002, //错误码 &amp;quot;info&amp;quot;:&amp;quot;用户不存在&amp;quot; //错误描述 }</code></pre> <p><strong>二、验证验证码:</strong> </p> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xxx.xxx.com/Systems/makeSureVerificationCode </code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST Content-Type: application/json;charset=utf-8</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;">username</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户名</td> </tr> <tr> <td style="text-align: left;">verification_code</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>1. -成功案例 { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;:2006, //正确码 &amp;quot;info&amp;quot;:&amp;quot;*************&amp;quot; //修改密码令牌 } 2. -失败案例 { &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;:3003, //错误码 &amp;quot;info&amp;quot;:&amp;quot;账号、密码和验证码不可为空&amp;quot; //错误描述 }</code></pre> <p><strong>三、修改密码:</strong> </p> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xxx.xxx.com/Systems/changepasswd </code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST Content-Type: application/json;charset=utf-8</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;">username</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户名</td> </tr> <tr> <td style="text-align: left;">Verification_char</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>令牌</td> </tr> <tr> <td style="text-align: left;">new_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>1. -成功案例 { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;:2006, //正确密码 &amp;quot;info&amp;quot;:&amp;quot;密码修改成功&amp;quot; //返回信息 } 2. -失败案例 { &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;:3003, //错误码 &amp;quot;info&amp;quot;:&amp;quot;账号、密码和验证码不可为空&amp;quot; //错误描述 }</code></pre> <p><strong>备注</strong> </p> <ul> <li>密码只支持英文字母和数字6~15位</li> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML