返回广告(banner)位配置列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>返回广告位配置列表 此接口只是获取广告配置。广告的配置在后台完成。</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.nilaib.com/config/getAdConfigListCache.htm</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong></p>
<p>PS 基础参数必传</p>
<p>业务参数 无</p>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": "1000",
"msg": "success",
"infoCount": 3,
"info": {
"square": [{
"imgurl": "http://47.98.138.253/bannerImg/guildRegulations.jpg",
"isdisplay": 1,
"hrefurl": "http://47.98.138.253/#/protocol/createClubProtocol",
"type": 1,
"title": "公会条约"
}],
"index": [{
"imgurl": "http://47.98.138.253/bannerImg/indexImg/banner1.png",
"isdisplay": 1,
"hrefurl": "http://www.baidu.com/",
"type": 0,
"title": "首页图片"
},
{
"imgurl": "http://47.98.138.253/bannerImg/indexImg/banner0.png",
"isdisplay": 1,
"hrefurl": "http://www.baidu.com/",
"type": 0,
"title": "首页图片"
},
{
"imgurl": "http://47.98.138.253/bannerImg/indexImg/indexforyou.png",
"isdisplay": 1,
"hrefurl": "http://47.98.138.253/#/activity/activityIndexforyou",
"type": 0,
"title": "余生有你"
}],
"theme": [{
"imgurl": "http://47.98.138.253/bannerImg/shortVideo/qixi.png",
"isdisplay": 1,
"hrefurl": "",
"type": 2,
"title": "七夕"
}]
}
}
</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;">result</td>
<td style="text-align: left;">String</td>
<td>返回类型编号</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">String</td>
<td>返回说明信息</td>
</tr>
<tr>
<td style="text-align: left;">info</td>
<td style="text-align: left;">JSON</td>
<td>返回结果</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>