HTHT


获取验证码

<h5>简要描述</h5> <ul> <li>请求服务端,获取验证码,返回的是一个图片格式</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:9999/htoa/user/getVerify</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</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;">uuId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>uuId(需要前端自行生成一个uuId)</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code>http://localhost:9999/htoa/user/getVerify/e6a2f201-f720-4e98-8fea-7f473101acd3</code></pre> <h5>返回示例</h5> <pre><code>{ "code": 200, "msg": "获取验证码成功", "data": "/9j/4AAQSkZJRgABAgAAAQABAAD......" }</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;">data</td> <td style="text-align: left;">String</td> <td>验证码图片的base64编码格式</td> </tr> </tbody> </table> <blockquote> <p><strong>注意:请求到图片后,有效期为1分钟</strong></p> </blockquote>

页面列表

ITEM_HTML