轮播图和公告二
<p><strong>简要描述:</strong> </p>
<ul>
<li>轮播图与公告接口2</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xxx.xxx.com/user/getIndexContent</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>Get</li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code> {
//成功状态
&quot;code&quot;: &quot;1&quot;,
&quot;msg&quot;: &quot;2006&quot;,
&quot;info&quot;: &quot;success&quot;,
&quot;rotations&quot;: [], //轮播图
&quot;announcements&quot;: [
{
&quot;time&quot;: 1498324277,
&quot;content&quot;: &quot;【投注限制】为防止玩家恶意刷水平台禁止同一IP......&quot;,
&quot;isPop&quot;: &quot;0&quot; // 1 弹窗公告 0 滑动公告
}
],
&quot;pcJumpUrl&quot;: &quot;http://lotopc.ty6686.com&quot; //跳转PC版本的链接
//失败状态
&quot;code&quot;:1,
&quot;msg&quot; :7001
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>