获取首页banner(中部banner单图转多图)
<p><strong>简要描述:</strong> </p>
<ul>
<li>v2首页banner单图转多图显示</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>域名/v4appapi/system.php?action=v2_newindex_banner</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">uid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户ID</td>
</tr>
<tr>
<td style="text-align: left;">utype</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户类型 1分公司 8总监 8超级会员</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"msg": "成功",
"data": {
"default_title": "淘宝",
"category": {
"state": 1,
"catelist": [
{
"hc_id": "3",
"hc_title": "淘宝",
"hc_img": "http://img.gaoyong666.com/homecaye/2018-05-09-1525845182.png",
"hc_default": "1",
"hc_url": "code-二级页面-淘宝"
},
{
"hc_id": "10",
"hc_title": "知买",
"hc_img": "http://img.gaoyong666.com/homecate/2018-10-19-1539920433.png",
"hc_default": "0",
"hc_url": "code-知买"
},
{
"hc_id": "5",
"hc_title": "云发单",
"hc_img": "http://img.gaoyong666.com/homecate/2018-05-14-1526264212.png",
"hc_default": "0",
"hc_url": "code-云发单"
},
{
"hc_id": "9",
"hc_title": "商学院",
"hc_img": "http://img.gaoyong666.com/homecate/2018-07-09-1531116352.png",
"hc_default": "0",
"hc_url": "http://m.wzhuanfa.com/business/business.php"
}
]
},
"exemption_img": {
"state": 1,
"exemptionlist": [
{
"img": "http://img.gaoyong666.com/homecate/2018-07-17-1531815020.png",
"url": "code-今日免单",
"state": "1",
"sort": "1"
},
{
"img": "http://img.gaoyong666.com/homecate/2018-07-17-1531815068.png",
"url": "code-出单排行榜-淘宝",
"state": "1",
"sort": "2"
},
{
"img": "http://img.gaoyong666.com/homecate/2018-07-17-1531815091.png",
"url": "code-高佣金商品",
"state": "1",
"sort": "3"
},
{
"img": "http://img.gaoyong666.com/homecate/2018-07-17-1531815169.png",
"url": "http://m.wzhuanfa.com/business/business.php",
"state": "1",
"sort": "4"
}
]
},
"double_11": {
"state": 1,
"double_11": [
{
"img": "http://img.gaoyong666.com/homecate/2018-11-07-1541588153.png",
"url": "https://mos.m.taobao.com/union/super1111?pid=mm_0_0_0 ",
"state": "1",
"sort": "0"
}
]
},
"yun_img": {
"state": 1,
"data": [
{
"img": "http://img.gaoyong666.com/homecate/2018-10-31-1540983184.png",
"url": "code-推广-http://api.gaoyong666.com/pingduo/v5/tbeleven/index.php?"
},
{
"img": "http://img.gaoyong666.com/homecate/2018-10-29-1540816821.png",
"url": "code-app淘宝链接-https://uland.taobao.com/taolijin/edetail?eh=l8rKTXfyskSZuQF0XRz0iAXoB%2BDaBK5LQS0Flu%2FfbSp4QsdWMikAalrisGmre1Id0BFAqRODu10Ez1FDqngbhWJbCKD8kYI0mSRVIqf0xdBMz0d%2Fp%2Bns%2BCzGNGLQpbAYiFKVeJAq2oBO4cl%2BGZQWlOjgTFwOoHsROdosnlokLgAAee0NocaWKuasf"
}
]
},
"word_img": {
"img": "http://img.gaoyong666.com/homecate/2018-05-10-1525934315.png",
"url": "",
"state": "1"
}
}
}</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;">catelist</td>
<td style="text-align: left;">object</td>
<td>分类数据</td>
</tr>
<tr>
<td style="text-align: left;">exemption_img</td>
<td style="text-align: left;">object</td>
<td>免单数据</td>
</tr>
<tr>
<td style="text-align: left;">double_11</td>
<td style="text-align: left;">object</td>
<td>双11数据</td>
</tr>
<tr>
<td style="text-align: left;">yun_img</td>
<td style="text-align: left;">object</td>
<td>中间banner数据(state 1显示 0不显示)</td>
</tr>
<tr>
<td style="text-align: left;">word_img</td>
<td style="text-align: left;">object</td>
<td>文字图片说明</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>