gulimall_weixin

谷粒商城微信接口文档


轮播图

<p><strong>简要描述</strong>: 轮播图</p> <p><strong>请求URL:</strong> <a href="https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata">https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata</a></p> <p><strong>请求方式:</strong> GET</p> <p><strong>参数</strong>: 无</p> <p><strong>返回示例</strong></p> <p>{ &quot;message&quot;: [ { &quot;image_src&quot;: &quot;<a href="https://api-hmugo-web.itheima.net/pyg/banner1.png">https://api-hmugo-web.itheima.net/pyg/banner1.png</a>&quot;, &quot;open_type&quot;: &quot;navigate&quot;, &quot;goods_id&quot;: 129, &quot;navigator_url&quot;: &quot;/pages/goods_detail/index?goods_id=129&quot; } ], &quot;meta&quot;: { &quot;msg&quot;: &quot;获取成功&quot;, &quot;status&quot;: 200 } }</p> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>image_src</td> <td>string</td> <td>图片地址</td> </tr> <tr> <td>open_type</td> <td>string</td> <td>打开方式</td> </tr> <tr> <td>goods_id</td> <td>number</td> <td>商品ID</td> </tr> <tr> <td>navigator_url</td> <td>string</td> <td>导航连接</td> </tr> </tbody> </table> <p><strong>备注</strong> 更多返回错误代码请看首页的错误代码描述</p>

页面列表

ITEM_HTML