微信小程序电子商城

商品


热门分类

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取热门分类</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://www.qiujixiang.cn:21111/index.php/api/index/cate_hot</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>参数</h5> <h5>返回示例</h5> <pre><code> [     {         &amp;quot;id&amp;quot;: 34,         &amp;quot;title&amp;quot;: &amp;quot;轻薄本&amp;quot;,         &amp;quot;path&amp;quot;: &amp;quot;http://img13.360buyimg.com/focus/s140x140_jfs/t11071/195/2462134264/9117/cd0688bf/5a17ba79N18b9f3d4.png&amp;quot;,         &amp;quot;pid&amp;quot;: 127,         &amp;quot;hot&amp;quot;: 1     },     {         &amp;quot;id&amp;quot;: 35,         &amp;quot;title&amp;quot;: &amp;quot;游戏本&amp;quot;,         &amp;quot;path&amp;quot;: &amp;quot;http://img30.360buyimg.com/focus/s140x140_jfs/t11155/36/2330310765/10690/eb6754c3/5a17ba96N49561fea.png&amp;quot;,         &amp;quot;pid&amp;quot;: 127,         &amp;quot;hot&amp;quot;: 1     }, ...</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;">id</td> <td style="text-align: left;">int</td> <td>分类id</td> </tr> <tr> <td style="text-align: left;">title</td> <td style="text-align: left;">int</td> <td>分类名称</td> </tr> <tr> <td style="text-align: left;">path</td> <td style="text-align: left;">string</td> <td>分类图片</td> </tr> <tr> <td style="text-align: left;">pid</td> <td style="text-align: left;">int</td> <td>父级分类id</td> </tr> <tr> <td style="text-align: left;">hot</td> <td style="text-align: left;">int</td> <td>是否热门</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML