东农后台api接口文档

接口文档


用户登录-验证码图片与验证码值的获取

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>验证码图片获取</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/Login/getVerifyCode</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET <h5>返回示例</h5></li> </ul> <pre><code> {     &amp;quot;code&amp;quot;: 0,     &amp;quot;msg&amp;quot;: &amp;quot;查询成功&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;url&amp;quot;: &amp;quot;http://xgkj.hljnyxx.com/dongnongBackend/index.php/Home/Login/verify?t=NSw1LDAsNA==&amp;quot;,         &amp;quot;code&amp;quot;: &amp;quot;5504&amp;quot;     } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">url</td> <td>验证码图片地址</td> </tr> <tr> <td style="text-align: left;">code</td> <td>验证码值</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>无</li> </ul>

页面列表

ITEM_HTML