首页卡片位信息接口 ok
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>首页广告位信息接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api.magicalday.cn/home/adv</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;:0,
&quot;msg&quot;:&quot;&quot;,
&quot;count&quot;:0,
&quot;data&quot;:{
&quot;category&quot;:[
[
{
&quot;icon_url&quot;:&quot;https://img.meituan.net/groceryimages/8d8c1e41b05b07aab01b448c0051f17124870.png&quot;,
&quot;name&quot;:&quot;分类 1&quot;,
&quot;jump_url&quot;:&quot;DX://categoryList?category_id=1&amp;source=adv_1_1&quot;
},
{
&quot;icon_url&quot;:&quot;https://img.meituan.net/groceryimages/c7e18a0d5e83080e0919615e25e7de2c32437.png&quot;,
&quot;name&quot;:&quot;分类 2&quot;,
&quot;jump_url&quot;:&quot;DX://categoryList?category_id=2&amp;source=adv_1_1&quot;
},
{
&quot;icon_url&quot;:&quot;https://img.meituan.net/groceryimages/8d8c1e41b05b07aab01b448c0051f17124870.png&quot;,
&quot;name&quot;:&quot;分类 3&quot;,
&quot;jump_url&quot;:&quot;DX://categoryList?category_id=3&amp;source=adv_1_1&quot;
},
{
&quot;icon_url&quot;:&quot;https://img.meituan.net/groceryimages/673f82c6d2aaac242aa1849f7fdbd30e35963.png&quot;,
&quot;name&quot;:&quot;分类 4&quot;,
&quot;jump_url&quot;:&quot;DX://categoryList?category_id=4&amp;source=adv_1_1&quot;
},
{
&quot;icon_url&quot;:&quot;https://img.meituan.net/groceryimages/62f5a2d6c79c3be0bd6ce8dba6b7604030849.png&quot;,
&quot;name&quot;:&quot;分类 6&quot;,
&quot;jump_url&quot;:&quot;DX://categoryList?category_id=5&amp;source=adv_1_1&quot;
},
]
],
wheel_seeding: [
&quot;https://api.daxiangzhenxuan.com/Static/Images/6695a08c0ead5002d241e0ac3571e513.png&quot;,
&quot;https://file.daxiangzhenxuan.com/Static/Images/6695a08c0ead5002d241e0ac3571e513.png&quot;,
&quot;https://file.daxiangzhenxuan.com/Static/Images/6695a08c0ead5002d241e0ac3571e513.png&quot;
],
&quot;user&quot;:[
{
&quot;start_time&quot;:&quot;0&quot;,
&quot;end_time&quot;:&quot;0&quot;,
&quot;title&quot;:&quot;会员专区&quot;,
&quot;icon&quot;:&quot;https://img.meituan.net/groceryimages/a4980715384a17e89dd9eba7d74fc666395566.gif&quot;,
&quot;jump_url&quot;:&quot;DX://specialDetail?sid=1&amp;source=ad&quot;,
}
],
&quot;new&quot;:[
{
&quot;start_time&quot;:&quot;0&quot;,
&quot;end_time&quot;:&quot;0&quot;,
&quot;title&quot;:&quot; 新人专区&quot;,
&quot;icon&quot;:&quot;https://img.meituan.net/groceryimages/a4980715384a17e89dd9eba7d74fc666395566.gif&quot;,
&quot;jump_url&quot;:&quot;DX://specialDetail?sid=2&amp;source=ad&quot;,
},
&quot;special&quot;:[
{
&quot;start_time&quot;:&quot;0&quot;,
&quot;end_time&quot;:&quot;0&quot;,
&quot;title&quot;:&quot; 后台配置专场&quot;,
&quot;icon&quot;:&quot;https://img.meituan.net/groceryimages/a4980715384a17e89dd9eba7d74fc666395566.gif&quot;,
&quot;jump_url&quot;:&quot;DX://specialDetail?sid=2&amp;source=ad&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>
<tr>
<td style="text-align: left;">category</td>
<td style="text-align: left;">array</td>
<td>分类列表,二维数组,第一维为几行,第二维为每行中的分类信息</td>
</tr>
<tr>
<td style="text-align: left;">category->index->icon_url</td>
<td style="text-align: left;">string</td>
<td>分类图标</td>
</tr>
<tr>
<td style="text-align: left;">category->index->name</td>
<td style="text-align: left;">string</td>
<td>分类名称</td>
</tr>
<tr>
<td style="text-align: left;">category->index->jump_url</td>
<td style="text-align: left;">string</td>
<td>跳转链接</td>
</tr>
<tr>
<td style="text-align: left;">wheel_seeding</td>
<td style="text-align: left;">array</td>
<td>轮播图</td>
</tr>
<tr>
<td style="text-align: left;">user</td>
<td style="text-align: left;">array</td>
<td>会员专区</td>
<td>固定</td>
</tr>
<tr>
<td style="text-align: left;">new</td>
<td style="text-align: left;">array</td>
<td>新品专场</td>
<td>固定</td>
</tr>
<tr>
<td style="text-align: left;">special</td>
<td style="text-align: left;">array</td>
<td>后台配置专场</td>
<td>动态配置</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>