tazhe

他者


banner图接口

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取banner图片列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/app/common/bannerList</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>header参数</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;">Authorization</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>登录之后返回token</td> </tr> </tbody> </table> <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;">position</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>位置(默认是1即首页)</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;id&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;url&amp;quot;: &amp;quot;图片地址&amp;quot;, &amp;quot;sortIndex&amp;quot;: &amp;quot;排序越大越靠前&amp;quot;, &amp;quot;description&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> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML