示例文档

示例文档


修改密码

<p><strong>简要描述:</strong> </p> <ul> <li>修改用户密码接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://x.com/api/user/password</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong> json参数</strong> </p> <pre><code> { &amp;quot;uid&amp;quot;: 1, &amp;quot;password&amp;quot;:&amp;quot;123456&amp;quot; }</code></pre> <p><strong> json参数字段说明</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;">uid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">number</td> <td>用户id</td> </tr> <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> { &amp;quot;error_code&amp;quot;: 0, &amp;quot;data&amp;quot;: { &amp;quot;uid&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;username&amp;quot;: &amp;quot;12154545&amp;quot;, &amp;quot;name&amp;quot;: &amp;quot;吴系挂&amp;quot;, &amp;quot;groupid&amp;quot;: 2 , &amp;quot;reg_time&amp;quot;: &amp;quot;1936864169&amp;quot;, &amp;quot;last_login_time&amp;quot;: &amp;quot;0&amp;quot;, } }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <p>如遇到问题请反馈</p>

页面列表

ITEM_HTML